util/misc.py
changeset 734 5c42cafaee15
parent 731 4fc681ed0c61
child 781 cdc6393705ce
--- a/util/misc.py	Sat May 19 19:00:55 2012 +0200
+++ b/util/misc.py	Sun May 20 19:07:09 2012 +0200
@@ -6,7 +6,7 @@
 
 # helper func to get path to images
 def opjimg(imgname):
-    return os.path.join(sys.path[0], "images",imgname)
+    return os.path.join(sys.path[0], "images", imgname+".png")
     
 # helper func to check path write permission
 def CheckPathPerm(path):