Wrong init arg. Remove unknown argument.

This commit is contained in:
John Schember 2009-05-05 06:55:28 -04:00
parent a2a1ea70f3
commit 05a9732dbb
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class Config(ResizableDialog, Ui_Dialog):
None) None)
self.setup_input_output_formats(db, book_id, preferred_input_format, self.setup_input_output_formats(db, book_id, preferred_input_format,
preferred_input_format) preferred_output_format)
self.db, self.book_id = db, book_id self.db, self.book_id = db, book_id
self.setup_pipeline() self.setup_pipeline()

View File

@ -286,7 +286,7 @@ class gui(OptionlessCommand):
with open('images.qrc', 'wb') as f: with open('images.qrc', 'wb') as f:
f.write(manifest) f.write(manifest)
try: try:
check_call(['pyrcc4', '-py2', '-o', images, 'images.qrc']) check_call(['pyrcc4', '-o', images, 'images.qrc'])
except: except:
import traceback import traceback
traceback.print_exc() traceback.print_exc()