From f3107f4414c5e3e1c0a957d50de433af3f755bf1 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 8 Oct 2022 23:35:22 +0200 Subject: [PATCH] Cleanup --- sbapp/main.py | 3 +-- sbapp/sideband/core.py | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sbapp/main.py b/sbapp/main.py index f745ce4..af940a3 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -1,5 +1,4 @@ -# TODO: Reset -__debug_build__ = True +__debug_build__ = False __disable_shaders__ = True __version__ = "0.2.2" __variant__ = "beta" diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py index f788b22..83642ba 100644 --- a/sbapp/sideband/core.py +++ b/sbapp/sideband/core.py @@ -947,8 +947,6 @@ class SidebandCore(): time.sleep(SidebandCore.PERIODIC_JOBS_INTERVAL) if self.config["lxmf_periodic_sync"] == True: if self.getpersistent("lxmf.lastsync") == None: - # TODO: Remove - RNS.log("Lastsync was none, setting now as initial", RNS.LOG_DEBUG) self.setpersistent("lxmf.lastsync", time.time()) else: now = time.time() @@ -959,8 +957,6 @@ class SidebandCore(): RNS.log("Last sync was "+RNS.prettytime(now-lastsync)+" ago", RNS.LOG_DEBUG) RNS.log("Next sync is "+("in "+RNS.prettytime(nextsync-now) if nextsync-now > 0 else "now"), RNS.LOG_DEBUG) if now > nextsync: - # TODO: Remove - RNS.log("Syncing now...", RNS.LOG_DEBUG) if self.request_lxmf_sync(): RNS.log("Scheduled LXMF sync succeeded", RNS.LOG_DEBUG) self.setpersistent("lxmf.lastsync", time.time())