diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 22:21:46 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 22:21:46 +0100 |
commit | b74e86f48aa6d007b681e2723ff28fe82a49fa9d (patch) | |
tree | 660c068ab4ea4835c8311c974b029360d5350875 /youtube_dl/utils.py | |
parent | 3d36cea4aca303f6bde5b5453f4e3aeec8ee41e1 (diff) |
Fix all PEP8 issues except E501
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9ad0952d5..dd1023eef 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -240,9 +240,9 @@ def sanitize_open(filename, open_mode): # In case of error, try to remove win32 forbidden chars alt_filename = os.path.join( - re.sub('[/<>:"\\|\\\\?\\*]', '#', path_part) - for path_part in os.path.split(filename) - ) + re.sub('[/<>:"\\|\\\\?\\*]', '#', path_part) + for path_part in os.path.split(filename) + ) if alt_filename == filename: raise else: |