summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/markov.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/markov.py')
-rwxr-xr-xDemo/scripts/markov.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/markov.py b/Demo/scripts/markov.py
index 3329351..bddec56 100755
--- a/Demo/scripts/markov.py
+++ b/Demo/scripts/markov.py
@@ -113,4 +113,5 @@ def tuple(list):
i = len(list)/2
return tuple(list[:i]) + tuple(list[i:])
-test()
+if __name__ == "__main__":
+ test()