mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fix flake8 W291 trailing whitespace
This commit is contained in:
parent
644a11118c
commit
0350521b87
3 changed files with 3 additions and 3 deletions
|
@ -171,7 +171,7 @@ def par2(dirname):
|
||||||
cmd = ''
|
cmd = ''
|
||||||
for item in command:
|
for item in command:
|
||||||
cmd = '{cmd} {item}'.format(cmd=cmd, item=item)
|
cmd = '{cmd} {item}'.format(cmd=cmd, item=item)
|
||||||
logger.debug('calling command:{0}'.format(cmd), 'PAR2')
|
logger.debug('calling command:{0}'.format(cmd), 'PAR2')
|
||||||
try:
|
try:
|
||||||
proc = subprocess.Popen(command, stdout=bitbucket, stderr=bitbucket)
|
proc = subprocess.Popen(command, stdout=bitbucket, stderr=bitbucket)
|
||||||
proc.communicate()
|
proc.communicate()
|
||||||
|
|
|
@ -828,7 +828,7 @@ def transcode_directory(dir_name):
|
||||||
if not os.listdir(text_type(new_dir)): # this is an empty directory and we didn't transcode into it.
|
if not os.listdir(text_type(new_dir)): # this is an empty directory and we didn't transcode into it.
|
||||||
os.rmdir(new_dir)
|
os.rmdir(new_dir)
|
||||||
new_dir = dir_name
|
new_dir = dir_name
|
||||||
if not core.PROCESSOUTPUT and core.DUPLICATE: # We postprocess the original files to CP/SB
|
if not core.PROCESSOUTPUT and core.DUPLICATE: # We postprocess the original files to CP/SB
|
||||||
new_dir = dir_name
|
new_dir = dir_name
|
||||||
bitbucket.close()
|
bitbucket.close()
|
||||||
return final_result, new_dir
|
return final_result, new_dir
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -21,7 +21,7 @@ setup(
|
||||||
version='12.0.10',
|
version='12.0.10',
|
||||||
license='GPLv3',
|
license='GPLv3',
|
||||||
description='Efficient on demand post processing',
|
description='Efficient on demand post processing',
|
||||||
long_description="""
|
long_description="""
|
||||||
nzbToMedia
|
nzbToMedia
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue