Skip to content

Commit 5d8ddde

Browse files
authored
Drop superfluous if condition
1 parent 442b3b9 commit 5d8ddde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/acquisition/covidcast/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def delete_batch(self, cc_deletions):
342342
self._cursor.execute(fix_latest_issue_sql)
343343
self._connection.commit()
344344

345-
if total is None or total == -1:
345+
if total == -1:
346346
# the SQL connector does not support returning number of rows affected (see PEP 249)
347347
total = None
348348
except Exception as e:

0 commit comments

Comments
 (0)