magick.py: make executable and call main() only if __name__ is __main__

This commit is contained in:
Johannes 'josch' Schauer 2020-04-23 06:57:10 +02:00
parent fb2916e6b2
commit f0e4c6188e
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

3
magick.py Normal file → Executable file
View file

@ -303,4 +303,5 @@ def main():
)
main()
if __name__ == "__main__":
main()