mirror of
https://gitlab.sectorq.eu/jaydee/auto_import.git
synced 2025-12-14 18:44:52 +01:00
build
This commit is contained in:
@@ -142,7 +142,10 @@ while True:
|
|||||||
logging.debug("path exist")
|
logging.debug("path exist")
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
if _DEV == "":
|
if _DEV == "":
|
||||||
file = open(_IMP_FILE, 'r')
|
try:
|
||||||
|
file = open(_IMP_FILE, 'r')
|
||||||
|
except:
|
||||||
|
break
|
||||||
content = file.read()
|
content = file.read()
|
||||||
_DEV = json.loads(content)["device"]
|
_DEV = json.loads(content)["device"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user