From d9b5e26a3b0a50c25caa2c4636b4c33d79b9eb65 Mon Sep 17 00:00:00 2001
From: Markus <markus@muc.ccc.de>
Date: Fri, 23 Aug 2019 21:17:19 +0000
Subject: [PATCH] Remove obsolete Time dummy class

---
 preload/main.py | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/preload/main.py b/preload/main.py
index c679a82ec..c120f6041 100644
--- a/preload/main.py
+++ b/preload/main.py
@@ -11,28 +11,6 @@ import os
 CONFIG_NAME = "clock.json"
 
 
-class Time:
-    def __init__(self, start=0):
-        self.time = start
-        self.wait_time = 0.95
-
-    def tick(self):
-        sleep(self.wait_time)
-        self.time += 1
-
-    @property
-    def second(self):
-        return self.time % 60
-
-    @property
-    def minute(self):
-        return (self.time / 60) % 60
-
-    @property
-    def hour(self):
-        return (self.time / 3600) % 24
-
-
 class Clock:
     def __init__(
         self,
@@ -60,7 +38,6 @@ class Clock:
         )
         self.run_once = run_once
         self.offsetx = offsetx
-        self.time = Time()
         self.theme = 0
         self.default_themes = [
             {
-- 
GitLab