diff libervia/web/server/server.py @ 1519:01b8d68edd70

version: use standard Python's `dev0` instead of Libervia specific `D` for dev version
author Goffi <goffi@goffi.org>
date Tue, 06 Jun 2023 17:40:16 +0200
parents eb00d593801d
children a44f77559279
line wrap: on
line diff
--- a/libervia/web/server/server.py	Fri Jun 02 16:49:28 2023 +0200
+++ b/libervia/web/server/server.py	Tue Jun 06 17:40:16 2023 +0200
@@ -669,7 +669,7 @@
     def full_version(self):
         """Return the full version of Libervia (with extra data when in dev mode)"""
         version = self.version
-        if version[-1] == "D":
+        if version.split(".")[-1] == "dev0":
             # we are in debug version, we add extra data
             try:
                 return self._version_cache