mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
Fix incompatible types in assignment
This commit is contained in:
parent
453a3e736c
commit
1bf9acae54
1 changed files with 1 additions and 4 deletions
|
@ -113,10 +113,7 @@ def process(
|
|||
f'{r.status_code}',
|
||||
)
|
||||
|
||||
result = r.text
|
||||
if not type(result) == list:
|
||||
result = result.split('\n')
|
||||
for line in result:
|
||||
for line in r.text.split('\n'):
|
||||
if line:
|
||||
logger.postprocess(line, section)
|
||||
if 'Post Processing SUCCESSFUL' in line:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue