From 5b6f6856f2848476ddb676948b45c0ba94477b0b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 19 Nov 2016 23:39:18 +0100 Subject: [PATCH] Display warning after arguments check --- src/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index d21a3be..dbf1258 100644 --- a/src/main.py +++ b/src/main.py @@ -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)