mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
chore: move comment
This commit is contained in:
1 parent
e8ccdd7cbb
commit
cee1e3b8af
1 file changed
+1
-1
@@ -63,6 +63,7 @@ class LocalClock:
|
|||||||
def __init__(self, emitter: Emitter) -> None:
|
def __init__(self, emitter: Emitter) -> None:
|
||||||
self.emitter = emitter
|
self.emitter = emitter
|
||||||
self.start_time = datetime.now()
|
self.start_time = datetime.now()
|
||||||
|
# NOTE: highest theoretical accel interval is 24 * 64
|
||||||
GLib.timeout_add(500, self.check_time)
|
GLib.timeout_add(500, self.check_time)
|
||||||
|
|
||||||
def get_time(self) -> str:
|
def get_time(self) -> str:
|
||||||
@@ -107,7 +108,6 @@ class ServerClock:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def _on_local_time_incremented(
|
def _on_local_time_incremented(
|
||||||
# NOTE: highest theoretical accel interval is 24 * 64 at night
|
|
||||||
self,
|
self,
|
||||||
emitter: Emitter,
|
emitter: Emitter,
|
||||||
time: datetime,
|
time: datetime,
|
||||||
|
|||||||
Reference in new issue
Block a user