1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grammalecte_ynh.git synced 2024-09-03 20:36:23 +02:00
grammalecte_ynh/sources/patches/main-fix-python.patch

13 lines
457 B
Diff

diff --git a/grammalecte-server.py b/grammalecte-server.py
index 90a337f..8d7d1ef 100644
--- a/grammalecte-server.py
+++ b/grammalecte-server.py
@@ -320,7 +320,7 @@ def main (sHost="localhost", nPort=8080, dOptions=None, bTestPage=False, nMultiC
# Python version
print("Python: " + sys.version)
- if sys.version_info.major < (3, 7):
+ if sys.version_info < (3, 7):
print("Python 3.7+ required")
return
# Grammalecte