We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03c99ea commit 8809673Copy full SHA for 8809673
1 file changed
src/diffpy/pdfgui/gui/pdfguiglobals.py
@@ -37,10 +37,13 @@
37
38
# Requirement must have egg-info. Do not use in _development_mode.
39
_req = Requirement.parse("diffpy.pdfgui")
40
+
41
+#pavol
42
# APPDATADIR = (os.path.dirname(_upbasedir) if _development_mode
43
# else resource_filename(_req, ""))
44
+#long
45
if _development_mode:
- APPDATADIR = os.path.dirname(_upbasedir)
46
+ APPDATADIR = os.path.dirname(_mydir)
47
else:
48
APPDATADIR = os.path.join(resource_filename(_req, ""), "diffpy/pdfgui")
49
@@ -64,6 +67,10 @@ def iconpath(iconfilename):
64
67
Return string.
65
68
"""
66
69
rv = os.path.join(APPDATADIR, 'icons', iconfilename)
70
+ print("APPDATADIR")
71
+ print(APPDATADIR)
72
+ print("rv")
73
+ print(rv)
74
assert os.path.isfile(rv), "icon file does not exist"
75
return rv
76
0 commit comments