Display warning after arguments check
This commit is contained in:
parent
79e0aacd0f
commit
5b6f6856f2
1 changed files with 3 additions and 2 deletions
|
@ -52,12 +52,13 @@ def main(files):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print('WARNING')
|
|
||||||
print('All your sheets should have the same column order.\n')
|
|
||||||
ap = argparse.ArgumentParser()
|
ap = argparse.ArgumentParser()
|
||||||
ap.add_argument('-f', '--files', type=str, nargs='+', help='Files to upload.', required=True)
|
ap.add_argument('-f', '--files', type=str, nargs='+', help='Files to upload.', required=True)
|
||||||
|
|
||||||
args = ap.parse_args()
|
args = ap.parse_args()
|
||||||
files = args.files
|
files = args.files
|
||||||
|
|
||||||
|
print('WARNING')
|
||||||
|
print('All your sheets should have the same column order.\n')
|
||||||
|
|
||||||
main(files)
|
main(files)
|
||||||
|
|
Loading…
Reference in a new issue