1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-29 13:52:50 +08:00

Remove fmt arg from _NA_formatter.__str__()

Copy-paste fail.  __str__() doesn't take a fmt argument as __format__() does.
This commit is contained in:
cousteau 2015-12-27 19:21:18 +01:00
parent 50875cf354
commit 916aaebb13

View File

@ -110,7 +110,7 @@ class _NA_formatter(object):
to prevent stuff such as {upload_date:%Y} from yielding errors"""
def __format__(self, fmt):
return 'NA'
def __str__(self, fmt):
def __str__(self):
return 'NA' # just in case; can probably be removed