diff options
author | Pjotr Prins | 2024-06-22 05:01:19 -0500 |
---|---|---|
committer | Pjotr Prins | 2024-06-22 05:01:19 -0500 |
commit | cd3746df84899720312aea1c3af833aa79ad1df6 (patch) | |
tree | 78324112182ee9ce61e017ff1cf973d094a52fbc | |
parent | ed6bc08db4a7d7d34d793ab7e3a5ba5bf02f6c4d (diff) | |
download | genecup-cd3746df84899720312aea1c3af833aa79ad1df6.tar.gz |
Make VERSION global
-rwxr-xr-x | server.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() |