UI/PixmapCache.py

changeset 3621
15f23ed3f216
parent 3484
645c12de6b0c
child 3656
441956d8fce5
--- a/UI/PixmapCache.py	Fri May 30 13:17:20 2014 +0200
+++ b/UI/PixmapCache.py	Fri May 30 15:16:40 2014 +0200
@@ -56,7 +56,7 @@
 
         @param path path to add (string)
         """
-        if not path in self.searchPath:
+        if path not in self.searchPath:
             self.searchPath.append(path)
 
 pixCache = PixmapCache()

eric ide

mercurial