aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/server
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-21 19:06:33 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-21 19:13:48 +0100
commitc8aba30a61346148d1b59209a17b98aa07b4d146 (patch)
tree0ed05908d29feb489343a5319483b86987835961 /src/hydrilla/server
parentaefe76fbc7ac68ab9786d84e9cbb0962f0600fd2 (diff)
downloadhaketilo-hydrilla-c8aba30a61346148d1b59209a17b98aa07b4d146.tar.gz
haketilo-hydrilla-c8aba30a61346148d1b59209a17b98aa07b4d146.zip
enable using with Python 3.7
Diffstat (limited to 'src/hydrilla/server')
-rw-r--r--src/hydrilla/server/config.py3
-rw-r--r--src/hydrilla/server/serve.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/hydrilla/server/config.py b/src/hydrilla/server/config.py
index 0155e83..e0cc186 100644
--- a/src/hydrilla/server/config.py
+++ b/src/hydrilla/server/config.py
@@ -24,6 +24,9 @@
# file's license. Although I request that you do not make use this code
# in a proprietary program, I am not going to enforce this in court.
+# Enable using with Python 3.7.
+from __future__ import annotations
+
import json
from pathlib import Path
diff --git a/src/hydrilla/server/serve.py b/src/hydrilla/server/serve.py
index 075eaef..2ef30cb 100644
--- a/src/hydrilla/server/serve.py
+++ b/src/hydrilla/server/serve.py
@@ -24,6 +24,9 @@
# file's license. Although I request that you do not make use this code
# in a proprietary program, I am not going to enforce this in court.
+# Enable using with Python 3.7.
+from __future__ import annotations
+
import re
import os
import pathlib