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:
parent
50875cf354
commit
916aaebb13
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user