diff options
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
| -rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 5c875b497..94c50903c 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1001,7 +1001,7 @@ class YoutubeDL(object):              else:                  self.to_screen('[info] Writing video description metadata as JSON to: ' + infofn)                  try: -                    write_json_file(info_dict, encodeFilename(infofn)) +                    write_json_file(info_dict, infofn)                  except (OSError, IOError):                      self.report_error('Cannot write metadata to JSON file ' + infofn)                      return  | 
