From 703f1ed5c19c56602060c3b85080fdbfee4e5f5b Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 17 Feb 2024 12:55:14 +1100 Subject: [PATCH] fix: Version display --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 5dc8331..33b36bc 100644 --- a/main.py +++ b/main.py @@ -1047,6 +1047,8 @@ def settings(): branch = info['refs'] if branch != "main": branch = f"({branch})" + else: + branch = "" last_commit = info['author_date'] # import to time from format "2024-02-13 11:24:03" last_commit = datetime.datetime.strptime(last_commit, "%Y-%m-%d %H:%M:%S")