fix csv arg

This commit is contained in:
Sarah 2022-06-27 19:41:29 +01:00
parent cbd91cb2c5
commit 0cf7f8dd3d
1 changed files with 1 additions and 1 deletions

View File

@ -80,8 +80,8 @@ def update_wiki(token_id, token_secret, update_csv, pages):
if __name__ == '__main__': if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Update wiki pages.') parser = argparse.ArgumentParser(description='Update wiki pages.')
parser.add_argument('--update_csv', help='Update viewings.csv file, default: True', default=True, required=False)
parser.add_argument('--pages', nargs="+", default=['years', 'countries', 'references', 'themes', 'scores'], required=False) parser.add_argument('--pages', nargs="+", default=['years', 'countries', 'references', 'themes', 'scores'], required=False)
parser.add_argument("--do_not_update_csv", action="store_true")
args = parser.parse_args() args = parser.parse_args()