We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
iconpath
1 parent 292d435 commit b89a8a2Copy full SHA for b89a8a2
1 file changed
src/diffpy/pdfgui/gui/pdfguiglobals.py
@@ -59,6 +59,7 @@ def iconpath(iconfilename):
59
Return string.
60
"""
61
rv = os.path.join(APPDATADIR, 'icons', iconfilename)
62
+ assert os.path.isfile(rv), "icon file does not exist"
63
return rv
64
65
0 commit comments