Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
fix issue with returns
Browse files Browse the repository at this point in the history
  • Loading branch information
richiverse committed Mar 29, 2019
1 parent b75a8a1 commit 9763041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandas_ext/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def to_excel(df: pd.DataFrame, file_path: str, engine='', **kwargs) -> None:
with open(tmp_file, 'rb') as source, s3.open(file_path, 'wb') as dest:
dest.write(source.read())
os.remove(tmp_file)
return

return df.to_excel(file_path, **kwargs)

0 comments on commit 9763041

Please sign in to comment.