diff --git a/preload/main.py b/preload/main.py index c679a82ec20191acec37fa99519f1cb81e52fc71..c120f6041131c00a656caeff01dce58715567842 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 = [ {