summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-03-01 23:04:02 +0700
committerSergey M․ <[email protected]>2017-03-01 23:04:02 +0700
commit158af5242e983312c0c1e7590faa9844136e338f (patch)
tree60a2ac3cf81c3c372670b8e5db56c51902be6670
parent40df485f554ec3fff81ca988b5bf961d54d8e41b (diff)
downloadyoutube-dl-158af5242e983312c0c1e7590faa9844136e338f.tar.gz
youtube-dl-158af5242e983312c0c1e7590faa9844136e338f.zip
[utils] Carry long doc string
-rw-r--r--youtube_dl/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 807183f4a..8738aa249 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -473,7 +473,8 @@ def timeconvert(timestr):
def sanitize_filename(s, restricted=False, is_id=False):
"""Sanitizes a string so it could be used as part of a filename.
If restricted is set, use a stricter subset of allowed characters.
- Set is_id if this is not an arbitrary string, but an ID that should be kept if possible
+ Set is_id if this is not an arbitrary string, but an ID that should be kept
+ if possible.
"""
def replace_insane(char):
if restricted and char in ACCENT_CHARS: