Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe committed Apr 23, 2018
1 parent 3236fe1 commit c540235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gspread-upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def main():

logging.info('reading input files from %s', os.path.abspath(args.input_dir))
os.makedirs(args.input_dir, exist_ok=True)
available_files = [filename for filename in os.listdir(args.input_dir) if filename.startswith(args.input_prefix)]
available_files = [filename for filename in os.listdir(args.input_dir) if filename.startswith(args.input_prefix) and filename.endswith('.csv')]
logging.info('files: %s', available_files)

categories_raw = [input_file[len(args.input_prefix):-4].split('-')[1:] for input_file in available_files]
Expand Down

0 comments on commit c540235

Please sign in to comment.