[ci] auto-format

This commit is contained in:
Loup-Garou911XD 2022-09-30 15:50:42 +00:00 committed by github-actions[bot]
parent fde9483f5e
commit 637520d9c6

View file

@ -19,6 +19,7 @@ if TYPE_CHECKING:
def Print(arg1, arg2="", arg3=""): def Print(arg1, arg2="", arg3=""):
ba.screenmessage(str(arg1)+str(arg2)+str(arg3)) ba.screenmessage(str(arg1)+str(arg2)+str(arg3))
try: try:
with open("moodlightSettings.txt", "r") as mltxt: with open("moodlightSettings.txt", "r") as mltxt:
global Ldefault, Udefault global Ldefault, Udefault
@ -31,6 +32,7 @@ except:
mltxt.write("15 \n 20") mltxt.write("15 \n 20")
Ldefault, Udefault = 15, 20 Ldefault, Udefault = 15, 20
class SettingWindow(ba.Window): class SettingWindow(ba.Window):
def __init__(self): def __init__(self):
self.draw_ui() self.draw_ui()
@ -201,6 +203,8 @@ class SettingWindow(ba.Window):
ba.containerwidget(edit=self._root_widget, transition="out_right",) ba.containerwidget(edit=self._root_widget, transition="out_right",)
# ba_meta export plugin # ba_meta export plugin
class moodlight(ba.Plugin): class moodlight(ba.Plugin):
def __init__(self): def __init__(self):
pass pass