Commit c7e6ba73 authored by birk's avatar birk
Browse files

convert relative programs path into an absolute one

parent 23fae6a5
......@@ -43,6 +43,9 @@ class Main(object):
# defining programs
self._programs = []
# convert relative programs path into an absolute one
programs = os.path.join(os.path.dirname(__file__), programs)
with open(programs) as json_data:
for p in json.load(json_data)['programs']:
self._programs.append(Program(self._api, p))
......
Supports Markdown
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