(no commit message)
[drlaunch] / src / icons.py
index 72812de..515a512 100755 (executable)
@@ -151,8 +151,9 @@ class Icons(gobject.GObject):
            appname=wapps[k]
            if appname!=None:
                app=apps.readOne(appname)
-               app['icon2']=getIcon(app['icon'])
-               self.get(x,y).setApp(app)
+               if app!=None:
+                   app['icon2']=getIcon(app['icon'])
+                   self.get(x,y).setApp(app)
 
 #      for f in fn:
 #          dt=apps.readOne(f)