mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fix strings for Python 3
`basestring` not available in Python 3 `unicode` not available in Python 3 `str` expected instead of `bytes`
This commit is contained in:
parent
4ee656f22c
commit
f5f6562fe9
3 changed files with 28 additions and 23 deletions
|
@ -316,6 +316,7 @@ class autoProcessTV(object):
|
|||
else:
|
||||
for line in r.iter_lines():
|
||||
if line:
|
||||
line = line.decode('utf-8')
|
||||
logger.postprocess("{0}".format(line), section)
|
||||
if "Moving file from" in line:
|
||||
inputName = os.path.split(line)[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue