Skip to content

Commit 901dc80

Browse files
committed
update filename
1 parent d4f6f79 commit 901dc80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymetrics/drive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def upload(content, filename, folder, convert=False):
9797

9898
drive_file.content = content
9999
drive_file.Upload({'convert': convert})
100-
LOGGER.info('Uploaded file %s', drive_file.metadata['alternateLink'])
100+
LOGGER.info(f'Uploaded filename {filename}')
101101

102102

103103
def download(folder, filename, xlsx=False):

pymetrics/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ def create_spreadsheet(output_path, sheets, na_rep=''):
7777
_add_sheet(writer, data, title, na_rep=na_rep)
7878

7979
if drive.is_drive_path(output_path):
80-
LOGGER.info('Creating file %s', output_path)
8180
folder, filename = drive.split_drive_path(output_path)
81+
LOGGER.info(f'Creating filename {filename}')
8282
drive.upload(output, filename, folder, convert=True)
8383
else:
8484
if not output_path.endswith('.xlsx'):

0 commit comments

Comments
 (0)