Commit f20f5454 authored by Oleg Nikulin's avatar Oleg Nikulin

Путь к конфигу относительно расположения скрипта

parent e6683080
from general import *
from communication import *
import termios
import os
input_thread_running = False
initialized = False
......@@ -146,7 +147,7 @@ def poll(serial_port):
if __name__ == "__main__":
config = load_json('config.json')
config = load_json( os.path.join(os.path.dirname(__file__), 'config.json') )
if config is None:
exit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment