Skip to content

Commit 6452fe1

Browse files
committed
Enhanced version display
1 parent d82fce7 commit 6452fe1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

application.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,12 @@ def __init__(self, master=None):
337337

338338
if os.path.exists("VERSION_INFO"):
339339
with open("VERSION_INFO", "r") as file:
340-
self._version = file.read().strip("\n")
340+
self._version = " ".join(
341+
(
342+
file.read().strip("\n"),
343+
"(DEV)" if config.DEVELOPER_MODE_ENABLED else None
344+
)
345+
)
341346

342347
logger.debug("Loading config file.")
343348
try: # to open preceding config file

0 commit comments

Comments
 (0)