mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
57cdced2e4
commit
933f51c3f5
1 changed files with 4 additions and 2 deletions
|
|
@ -5344,8 +5344,10 @@ class TexturePicker(popup.PopupWindow):
|
||||||
def ok(s, index):
|
def ok(s, index):
|
||||||
global THE_TB
|
global THE_TB
|
||||||
bui.containerwidget(edit=s.root_widget, transition=anim_out)
|
bui.containerwidget(edit=s.root_widget, transition=anim_out)
|
||||||
try: bui.textwidget(edit=THE_TB, text=all_texture[index])
|
try:
|
||||||
except TypeError: pass # NoneType
|
bui.textwidget(edit=THE_TB, text=all_texture[index])
|
||||||
|
except TypeError:
|
||||||
|
pass # NoneType
|
||||||
|
|
||||||
def on_popup_cancel(s) -> None:
|
def on_popup_cancel(s) -> None:
|
||||||
bui.getsound('swish').play()
|
bui.getsound('swish').play()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue