forked from openlp/openlp
fix for image names
This commit is contained in:
parent
d7a84fb592
commit
69b98a44e8
@ -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())))
|
||||||
|
Loading…
Reference in New Issue
Block a user