Display warning after arguments check

This commit is contained in:
Gabriel Augendre 2016-11-19 23:39:18 +01:00
parent 79e0aacd0f
commit 5b6f6856f2
No known key found for this signature in database
GPG key ID: D2B6A5B41FC438B1

View file

@ -52,12 +52,13 @@ def main(files):
if __name__ == '__main__':
print('WARNING')
print('All your sheets should have the same column order.\n')
ap = argparse.ArgumentParser()
ap.add_argument('-f', '--files', type=str, nargs='+', help='Files to upload.', required=True)
args = ap.parse_args()
files = args.files
print('WARNING')
print('All your sheets should have the same column order.\n')
main(files)