mirror of
https://github.com/markqvist/Sideband.git
synced 2025-05-07 00:44:59 -04:00
Add module path on desktop
This commit is contained in:
parent
24c6e11438
commit
feafb74717
2 changed files with 8 additions and 0 deletions
|
@ -1,10 +1,16 @@
|
|||
import RNS
|
||||
import LXMF
|
||||
import time
|
||||
import sys
|
||||
import os
|
||||
|
||||
from kivy.logger import Logger, LOG_LEVELS
|
||||
Logger.setLevel(LOG_LEVELS["error"])
|
||||
|
||||
if RNS.vendor.platformutils.get_platform() != "android":
|
||||
local = os.path.dirname(__file__)
|
||||
sys.path.append(local)
|
||||
|
||||
from kivymd.app import MDApp
|
||||
from kivy.core.window import Window
|
||||
from kivy.base import EventLoop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue