Skip to content

Commit

Permalink
Code tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
philborman committed Jun 30, 2017
1 parent 45370c9 commit a5d54b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lazylibrarian/searchmag.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ def search_magazines(mags=None, reset=False):
# and status has been user-set ( we only delete the "Skipped" ones )
# In "wanted" table it might be already snatched/downloading/processing

mag_entry = myDB.match('SELECT * from ? WHERE NZBtitle=? and NZBprov=?',
(insert_table, nzbtitle, nzbprov))
mag_entry = myDB.match('SELECT * from %s WHERE NZBtitle=? and NZBprov=?' % insert_table,
(nzbtitle, nzbprov))
if not mag_entry:
controlValueDict = {
"NZBtitle": nzbtitle,
Expand Down

0 comments on commit a5d54b8

Please sign in to comment.