From 445c56b07fe3f7a7dd783969ecd6673688e9c81f Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Fri, 17 Nov 2017 10:06:43 +0100 Subject: [PATCH] Changed plotting behavior of punchcard --- users_helper.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/users_helper.py b/users_helper.py index 939a51b..3a8021e 100644 --- a/users_helper.py +++ b/users_helper.py @@ -111,9 +111,7 @@ class Users_helper: to_append.append(week[d][h]) except KeyError: to_append.append(0) - # swap 24 and 1. (punchcard starts at 1h) - temp = to_append[1:]+[to_append[0]] - data.append(temp) + data.append(to_append) except KeyError: # no data data.append([0 for x in range(24)]) # swap: punchcard day starts on monday