mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02:00
Cleanup
This commit is contained in:
parent
9ef320f43e
commit
9e715f80d0
@ -8,8 +8,8 @@ import base64
|
|||||||
import threading
|
import threading
|
||||||
|
|
||||||
from kivy.logger import Logger, LOG_LEVELS
|
from kivy.logger import Logger, LOG_LEVELS
|
||||||
Logger.setLevel(LOG_LEVELS["debug"])
|
# Logger.setLevel(LOG_LEVELS["debug"])
|
||||||
# Logger.setLevel(LOG_LEVELS["error"])
|
Logger.setLevel(LOG_LEVELS["error"])
|
||||||
|
|
||||||
if RNS.vendor.platformutils.get_platform() != "android":
|
if RNS.vendor.platformutils.get_platform() != "android":
|
||||||
local = os.path.dirname(__file__)
|
local = os.path.dirname(__file__)
|
||||||
|
@ -3,8 +3,8 @@ import RNS
|
|||||||
from os import environ
|
from os import environ
|
||||||
|
|
||||||
from kivy.logger import Logger, LOG_LEVELS
|
from kivy.logger import Logger, LOG_LEVELS
|
||||||
Logger.setLevel(LOG_LEVELS["debug"])
|
# Logger.setLevel(LOG_LEVELS["debug"])
|
||||||
# Logger.setLevel(LOG_LEVELS["error"])
|
Logger.setLevel(LOG_LEVELS["error"])
|
||||||
|
|
||||||
if RNS.vendor.platformutils.get_platform() == "android":
|
if RNS.vendor.platformutils.get_platform() == "android":
|
||||||
from jnius import autoclass, cast
|
from jnius import autoclass, cast
|
||||||
|
@ -908,7 +908,7 @@ class SidebandCore():
|
|||||||
self.service_thread.start()
|
self.service_thread.start()
|
||||||
|
|
||||||
def __start_jobs_immediate(self):
|
def __start_jobs_immediate(self):
|
||||||
self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=7)
|
self.reticulum = RNS.Reticulum(configdir=self.rns_configdir, loglevel=2)
|
||||||
|
|
||||||
if RNS.vendor.platformutils.get_platform() == "android":
|
if RNS.vendor.platformutils.get_platform() == "android":
|
||||||
if not self.reticulum.is_connected_to_shared_instance:
|
if not self.reticulum.is_connected_to_shared_instance:
|
||||||
|
Loading…
Reference in New Issue
Block a user