fix for image names

This commit is contained in:
M2j 2010-06-07 11:37:27 +02:00
parent d7a84fb592
commit 69b98a44e8

View File

@ -117,6 +117,7 @@ class ImageMediaItem(MediaManagerItem):
if items: if items:
for item in items: for item in items:
text = self.ListView.item(item.row()) text = self.ListView.item(item.row())
if text:
try: try:
os.remove( os.remove(
os.path.join(self.servicePath, unicode(text.text()))) os.path.join(self.servicePath, unicode(text.text())))