aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.py b/server.py
index cd58c7e..331bb60 100755
--- a/server.py
+++ b/server.py
@@ -56,6 +56,7 @@ nltk.data.path.append("./nlp/")
VERSION=None
def version():
+ global VERSION
if VERSION is None:
with open("VERSION", 'r') as file:
VERSION = file.read()