mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-22 22:40:53 -04:00
Cleanup
This commit is contained in:
parent
1fb6c38247
commit
919e2f8f5f
1 changed files with 3 additions and 3 deletions
|
@ -729,7 +729,7 @@ class SidebandApp(MDApp):
|
||||||
self.conversations_view.update()
|
self.conversations_view.update()
|
||||||
|
|
||||||
imr = self.sideband.getstate("lxm_uri_ingest.result", allow_cache=True)
|
imr = self.sideband.getstate("lxm_uri_ingest.result", allow_cache=True)
|
||||||
if imr != None and imr != "None":
|
if imr and imr != "None" and imr != "False":
|
||||||
info_text = str(imr)
|
info_text = str(imr)
|
||||||
self.sideband.setstate("lxm_uri_ingest.result", False)
|
self.sideband.setstate("lxm_uri_ingest.result", False)
|
||||||
ok_button = MDRectangleFlatButton(text="OK",font_size=dp(18))
|
ok_button = MDRectangleFlatButton(text="OK",font_size=dp(18))
|
||||||
|
@ -746,7 +746,7 @@ class SidebandApp(MDApp):
|
||||||
dialog.open()
|
dialog.open()
|
||||||
|
|
||||||
hwe = self.sideband.getstate("hardware_operation.error", allow_cache=True)
|
hwe = self.sideband.getstate("hardware_operation.error", allow_cache=True)
|
||||||
if hwe != None and hwe != "None":
|
if hwe and hwe != "None" and hwe != "False":
|
||||||
info_text = str(hwe)
|
info_text = str(hwe)
|
||||||
self.sideband.setstate("hardware_operation.error", False)
|
self.sideband.setstate("hardware_operation.error", False)
|
||||||
ok_button = MDRectangleFlatButton(text="OK",font_size=dp(18))
|
ok_button = MDRectangleFlatButton(text="OK",font_size=dp(18))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue