fix csv arg
This commit is contained in:
parent
cbd91cb2c5
commit
0cf7f8dd3d
|
@ -80,8 +80,8 @@ def update_wiki(token_id, token_secret, update_csv, pages):
|
|||
if __name__ == '__main__':
|
||||
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("--do_not_update_csv", action="store_true")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Reference in New Issue