1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-07-30 20:30:09 +02:00

Fixed bug updating the times file when case changes.

First column split of vitamins now at J.
This commit is contained in:
Chris Palmer
2020-04-13 18:02:03 +01:00
parent efff17dfc7
commit 5be14f5e89
2 changed files with 4 additions and 2 deletions

View File

@@ -48,6 +48,8 @@ def check_have_time(changed, name):
return changed
def add_time(name, start):
if name.lower() in times:
del times[name.lower()]
times[name] = round(time.time() - start, 3)
def print_times():