Fix Image saving bug

This commit is contained in:
Tim Bentley 2010-10-26 20:25:31 +01:00
parent d3e4cf7a2d
commit 7285490fcb

View File

@ -650,9 +650,12 @@ class ServiceManager(QtGui.QWidget):
.get_service_repr()}) .get_service_repr()})
if item[u'service_item'].uses_file(): if item[u'service_item'].uses_file():
for frame in item[u'service_item'].get_frames(): for frame in item[u'service_item'].get_frames():
path_from = unicode(os.path.join( if item[u'service_item'].is_image():
frame[u'path'], path_from = frame[u'path']
frame[u'title'])) else:
path_from = unicode(os.path.join(
frame[u'path'],
frame[u'title']))
# On write a file once # On write a file once
if not path_from in write_list: if not path_from in write_list:
write_list.append(path_from) write_list.append(path_from)