do not start lan on qubes

This commit is contained in:
Kevin Froman 2020-08-10 01:03:32 -05:00
parent feb8004c95
commit 87b8655b83
6 changed files with 25 additions and 9 deletions

View file

@ -78,4 +78,3 @@ def daemon_event_handlers(shared_state: 'TooMany'):
events_api.register_listener(print_test)
events_api.register_listener(upload_event)
events_api.register_listener(test_runtime)

View file

@ -48,7 +48,8 @@ class UploadQueue:
self.communicator = communicator
cache: deadsimplekv.DeadSimpleKV = deadsimplekv.DeadSimpleKV(
UPLOAD_MEMORY_FILE)
self.kv: "DeadSimpleKV" = communicator.shared_state.get_by_string("DeadSimpleKV")
self.kv: "DeadSimpleKV" = \
communicator.shared_state.get_by_string("DeadSimpleKV")
self.store_obj = cache
cache = cache.get('uploads')
if cache is None: