Commits

Andrey Vlasovskikh committed b1f3f2a

Extracted 'main' entry point

Comments (0)

Files changed (1)

         raise
 
 
-if __name__ == '__main__':
+def main():
     sys.modules['obraz'] = sys.modules[__name__]
     try:
         obraz(sys.argv[1:])
     except Exception:
         sys.exit(1)
+
+
+if __name__ == '__main__':
+    main()