1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

Merge pull request #292 from olof/fix_filenamify_docstring_dots_doctest

Fix docstring after the filenamify changes (f3aba4e59)
This commit is contained in:
Johan Andersson 2015-10-25 20:43:48 +01:00
commit 6a7cdc4b8f

View File

@ -127,7 +127,7 @@ def filenamify(title):
Convert a string to something suitable as a file name. Convert a string to something suitable as a file name.
>>> print(filenamify(u'Matlagning del 1 av 10 - R\xe4ksm\xf6rg\xe5s | SVT Play')) >>> print(filenamify(u'Matlagning del 1 av 10 - R\xe4ksm\xf6rg\xe5s | SVT Play'))
matlagning-del-1-av-10-raksmorgas-svt-play matlagning.del.1.av.10.-.raksmorgas.svt.play
""" """
# ensure it is unicode # ensure it is unicode