From 916aaebb13cf34f9478d1cd85a9e2c3d86628c5f Mon Sep 17 00:00:00 2001 From: cousteau Date: Sun, 27 Dec 2015 19:21:18 +0100 Subject: [PATCH] Remove fmt arg from _NA_formatter.__str__() Copy-paste fail. __str__() doesn't take a fmt argument as __format__() does. --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index d69cd32f8..47c52d520 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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