cola 2 anos atrás
pai
commit
eba9fd9776
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      handlers/HandlerBase.py

+ 1 - 1
handlers/HandlerBase.py

@@ -57,7 +57,7 @@ class BaseHandler(RequestHandler, DateUtils):
         print(df)
         # with open(f'./{pitcher}_{start}_{end}.csv','w',newline='') as f:
         #     f.write(df)
-        with ExcelWriter({filename}.xlsx) as ew:
+        with ExcelWriter("xxxx.xlsx") as ew:
             pd.read_csv(df).to_excel(ew,sheet_name="1",index=False)
         self.write(df)