mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fix DB import (#1779)
* Sqlite3.row handling fix * Fix import error in Python3
This commit is contained in:
parent
a359691515
commit
beecb1b1a0
3 changed files with 8 additions and 8 deletions
|
@ -1016,8 +1016,8 @@ def main(args, section=None):
|
|||
logger.info('Found download info for {0}, '
|
||||
'setting variables now ...'.format
|
||||
(os.path.basename(dir_name)))
|
||||
client_agent = text_type(core.DOWNLOAD_INFO[0].get('client_agent', 'manual'))
|
||||
download_id = text_type(core.DOWNLOAD_INFO[0].get('input_id', ''))
|
||||
client_agent = text_type(core.DOWNLOAD_INFO[0]['client_agent']) or 'manual'
|
||||
download_id = text_type(core.DOWNLOAD_INFO[0]['input_id']) or ''
|
||||
else:
|
||||
logger.info('Unable to locate download info for {0}, '
|
||||
'continuing to try and process this release ...'.format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue