Add ADB env check + auto start

This commit is contained in:
hyugogirubato
2024-04-01 12:24:00 +02:00
parent 3910b2b531
commit 262efe8c0c
2 changed files with 10 additions and 4 deletions
+4
View File
@@ -71,6 +71,10 @@ class Cdm:
"""
symbols = {}
if path:
# Verify symbols file path
if not path.is_file():
raise FileNotFoundError('Symbols file not found')
try:
# Parse the XML file
program = xmltodict.parse(path.read_bytes())['PROGRAM']