Updated path for icons.json
parent
c6f63d39ef
commit
e229c849dd
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import json, httplib, urllib, ssl, copy
|
import json, httplib, urllib, ssl, copy, os
|
||||||
|
|
||||||
# import stock icons
|
# import stock icons
|
||||||
try:
|
try:
|
||||||
stock_icons = json.loads(open('icons.json','r').read())
|
stock_icons = json.loads(open(os.path.dirname(__file__)+'/icons.json','r').read())
|
||||||
except:
|
except:
|
||||||
raise Exception('Unable to load icon file')
|
raise Exception('Unable to load icon file')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue