From e1b3580aefc6dad513ebbbb3c50b76cc4710d11c Mon Sep 17 00:00:00 2001 From: Valery Tschopp Date: Thu, 10 Aug 2017 11:06:53 +0200 Subject: [PATCH] main is required --- files/SWITCHengines-images-uploader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/SWITCHengines-images-uploader.py b/files/SWITCHengines-images-uploader.py index 8f7baa6..b8cb418 100755 --- a/files/SWITCHengines-images-uploader.py +++ b/files/SWITCHengines-images-uploader.py @@ -336,3 +336,7 @@ def glance_rename_and_set_private(glance, image, new_name, new_description): return 1 return 0 + + +if __name__ == "__main__": + sys.exit(main())