Skip to content

Commit f9216de

Browse files
committed
removed unused variable
1 parent 04c3ef5 commit f9216de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytrackunit/sqlcache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def __anext__(self):
160160
for in_item in sqldata:
161161
try:
162162
self.cur.execute("INSERT INTO error VALUES (?,?,?,?,?,?,?)",in_item)
163-
except sqlite3.IntegrityError as exc2:
163+
except sqlite3.IntegrityError:
164164
print("Item throwing Integrity error",in_item)
165165
self._db.rollback()
166166
raise sqlite3.IntegrityError from exc1

0 commit comments

Comments
 (0)