Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Exception swap

  • Loading branch information...
commit be01485b5501064b73e22a42d2d52ebbaff32f81 1 parent bc7b924
@jbillo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  musik/library/importer.py
View
2  musik/library/importer.py
@@ -39,7 +39,7 @@ def run(self):
# find the first unprocessed import task
try:
task = self.sa_session.query(ImportTask).filter(ImportTask.started == None).order_by(ImportTask.created).first()
- except ex as OperationalError:
+ except OperationalError as ex:
# Ran into this when my SQLite database was locked.
self.log.error(u'Operational error accessing database. Ensure it is not open by another process.')
break
Please sign in to comment.
Something went wrong with that request. Please try again.