On Tue, Apr 09, 2013 at 17:58:19 +0200, Jakub Filak wrote:
- logging.debug("File icon:
{0}".format(dicon.to_string()))
- base_name = os.path.basename(dicon.to_string())
+ str_dicon = dicon.to_string()
+ if not str_dicon:
+ logging.debug("File icon which cannot be convert to string")
+ return False
+
+ logging.debug("File icon: {0}".format())
^ is dicon.to_string()
supposed to be here?