summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/unbirthday.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/unbirthday.py')
-rwxr-xr-xDemo/scripts/unbirthday.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/unbirthday.py b/Demo/scripts/unbirthday.py
index e3b7be7..2d0b8e5 100755
--- a/Demo/scripts/unbirthday.py
+++ b/Demo/scripts/unbirthday.py
@@ -103,4 +103,5 @@ def mkdate((year, month, day)):
days = days + day
return days
-main()
+if __name__ == "__main__":
+ main()