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