Commented out X dependency

This commit is contained in:
Pünkösd Marcell 2021-04-01 18:01:05 +02:00
parent 8e2cee90b7
commit 8b090b1890

View File

@ -14,7 +14,7 @@ import json
import logging import logging
import logging.config import logging.config
from configparser import ConfigParser from configparser import ConfigParser
from pynput.keyboard import Listener, Key #from pynput.keyboard import Listener, Key
SCRIPT_DIR = os.path.dirname(__file__) SCRIPT_DIR = os.path.dirname(__file__)
@ -857,8 +857,8 @@ if __name__ == '__main__':
logging.info('Starting keyboard listener') logging.info('Starting keyboard listener')
listener = Listener(on_press=on_press, on_release=on_release) #listener = Listener(on_press=on_press, on_release=on_release)
listener.start() #listener.start()
if config.getboolean('MASTER_ENABLE'): if config.getboolean('MASTER_ENABLE'):
master_thread = threading.Thread(name='MasterThread', target=master_thread, args=(sync_event, path_master)) master_thread = threading.Thread(name='MasterThread', target=master_thread, args=(sync_event, path_master))
@ -874,8 +874,8 @@ if __name__ == '__main__':
if config.getboolean('SLAVE_ENABLE'): if config.getboolean('SLAVE_ENABLE'):
slave_thread.join() slave_thread.join()
listener.stop() #listener.stop()
listener.join() #listener.join()
logging.info("Done") logging.info("Done")
# TODO: export from ursimulator: root@xu:/var/snap/docker/common/var-lib-docker/volumes/dockursim/_data/programs.UR3# # TODO: export from ursimulator: root@xu:/var/snap/docker/common/var-lib-docker/volumes/dockursim/_data/programs.UR3#