]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/encode_bitmaps.py
Switch to the TreeListCtrl from the wxCode project.
[wxWidgets.git] / wxPython / demo / encode_bitmaps.py
index 4d4945b54f6bf029e17eeed978359ac87a0df1e7..37db1b1b855741cb37f23df5b8ed54b28ed7704e 100644 (file)
@@ -117,7 +117,8 @@ command_lines = [
     ]
 
 
-for line in command_lines:
-    args = line.split()
-    img2py.main(args)
+if __name__ == "__main__":
+    for line in command_lines:
+        args = line.split()
+        img2py.main(args)