diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -9,6 +9,11 @@ import formatting as f print("welcome to lock-n-log, the best way to organise and analyse your focus time!") +print("tag for session? ", end="", flush=True) +tag = input() +if tag == "": + tag = "work" + valid_timer_types = ('t', 's') option = False while not option: @@ -42,7 +47,7 @@ if option == 't': session["start"] = time.strftime("%H:%M") session["elapsed"] = timer_length * 60 session["type"] = "focus" - session["tag"] = "work" + session["tag"] = tag session["timer"] = "timer" session["ratio"] = 0.2 #print(session) |
