diff options
Diffstat (limited to 'Demo/scripts/newslist.py')
-rwxr-xr-x | Demo/scripts/newslist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/scripts/newslist.py b/Demo/scripts/newslist.py index b9f9c0e..a631214 100755 --- a/Demo/scripts/newslist.py +++ b/Demo/scripts/newslist.py @@ -359,8 +359,8 @@ def main(): createpage(rootpage, tree, '') print 'Done' - -main() +if __name__ == "__main__": + main() # That's all folks ###################################################################### |