projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accept files in wxHtmlEasyPrinting::{Print,Preview}File, not only URLs
[wxWidgets.git]
/
wxPython
/
demo
/
encode_bitmaps.py
diff --git
a/wxPython/demo/encode_bitmaps.py
b/wxPython/demo/encode_bitmaps.py
index 4d4945b54f6bf029e17eeed978359ac87a0df1e7..37db1b1b855741cb37f23df5b8ed54b28ed7704e 100644
(file)
--- a/
wxPython/demo/encode_bitmaps.py
+++ b/
wxPython/demo/encode_bitmaps.py
@@
-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)