summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/update.py')
-rwxr-xr-xDemo/scripts/update.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/update.py b/Demo/scripts/update.py
index 67a0783..32ad6c8 100755
--- a/Demo/scripts/update.py
+++ b/Demo/scripts/update.py
@@ -88,4 +88,5 @@ def main():
curfile = FileObj(filename)
curfile.process(lineno, line[n:])
-main()
+if __name__ == "__main__":
+ main()