mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
skipe error trying to encore bytes object. #1637
This commit is contained in:
parent
8d0c8c0bee
commit
87da2d9811
1 changed files with 2 additions and 2 deletions
|
@ -975,12 +975,12 @@ def main(args, section=None):
|
|||
|
||||
try:
|
||||
dir_name = dir_name.encode(core.SYS_ENCODING)
|
||||
except UnicodeError:
|
||||
except:
|
||||
pass
|
||||
input_name = os.path.basename(dir_name)
|
||||
try:
|
||||
input_name = input_name.encode(core.SYS_ENCODING)
|
||||
except UnicodeError:
|
||||
except:
|
||||
pass
|
||||
|
||||
results = process(dir_name, input_name, 0, client_agent=client_agent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue