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