Skip to content

Commit

Permalink
#4389 ensure we have a non-None default value
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 19, 2024
1 parent a2e1456 commit deab47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/server/menu_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_menu_data(self, force_reload=False, remove_icons=False, wait=True) -> Di
try:
if menu_data is None or force_reload:
from xpra.platform.menu_helper import load_menu #pylint: disable=import-outside-toplevel
menu_data = self.menu_data = load_menu()
menu_data = self.menu_data = load_menu() or {}
add_work_item(self.got_menu_data)
finally:
self.load_lock.release()
Expand Down

0 comments on commit deab47e

Please sign in to comment.