Skip to content

Commit

Permalink
put devices.ini in resources folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jindaxia committed Feb 23, 2021
1 parent e7e0ee0 commit ee4ae86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __init__(self):

def load_devices_ini(self):
cf = configparser.ConfigParser()
cf.read("devices.ini")
cf.read(appctxt.get_resource("devices.ini"))
for sec in cf.sections():
# print(cf.options(sec))
vid = int(cf.get(sec,'vid'), 16)
Expand Down
File renamed without changes.

0 comments on commit ee4ae86

Please sign in to comment.