mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 06:44:21 +01:00
Fixed missing none check
This commit is contained in:
@@ -143,6 +143,7 @@ class Directory:
|
|||||||
while len(self.announce_stream) > Directory.ANNOUNCE_STREAM_MAXLENGTH:
|
while len(self.announce_stream) > Directory.ANNOUNCE_STREAM_MAXLENGTH:
|
||||||
self.announce_stream.pop()
|
self.announce_stream.pop()
|
||||||
|
|
||||||
|
if hasattr(self.app, "ui") and self.app.ui != None:
|
||||||
if hasattr(self.app.ui, "main_display"):
|
if hasattr(self.app.ui, "main_display"):
|
||||||
self.app.ui.main_display.sub_displays.network_display.directory_change_callback()
|
self.app.ui.main_display.sub_displays.network_display.directory_change_callback()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user