fixed AttributErrors (regressio)

This commit is contained in:
Andreas Preikschat 2013-03-01 09:38:25 +01:00
parent ecc2413e7e
commit 2c02420bee
2 changed files with 2 additions and 2 deletions

View File

@ -406,7 +406,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
# Only continue when we include the song's text. # Only continue when we include the song's text.
if not self.slideTextCheckBox.isChecked(): if not self.slideTextCheckBox.isChecked():
return return
for item in self.service_manager.serviceItems: for item in self.service_manager.service_items:
# Trigger Audit requests # Trigger Audit requests
Registry().register_function(u'print_service_started', [item[u'service_item']]) Registry().register_function(u'print_service_started', [item[u'service_item']])

View File

@ -255,7 +255,7 @@ class HttpConnection(object):
current_unique_identifier = self.parent.current_item.unique_identifier current_unique_identifier = self.parent.current_item.unique_identifier
else: else:
current_unique_identifier = None current_unique_identifier = None
for item in self.service_manager.serviceItems: for item in self.service_manager.service_items:
service_item = item[u'service_item'] service_item = item[u'service_item']
service_items.append({ service_items.append({
u'id': unicode(service_item.unique_identifier), u'id': unicode(service_item.unique_identifier),