From 1a708bd0fc1c04b707aa2e00834f615f5d21a769 Mon Sep 17 00:00:00 2001 From: Robert Pendell Date: Wed, 1 Jul 2020 07:09:06 -0400 Subject: [PATCH] Add self dummy entry to FORMATS (#133) This takes care of #132 by allowing the filecheck to recognize self as a type but not actually have any file types associated with it. --- src/downloaders/downloaderUtils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/downloaders/downloaderUtils.py b/src/downloaders/downloaderUtils.py index bb77f93..3508549 100644 --- a/src/downloaders/downloaderUtils.py +++ b/src/downloaders/downloaderUtils.py @@ -40,7 +40,8 @@ def getFile(filename,shortFilename,folderDir,imageURL,indent=0, silent=False): FORMATS = { "videos": [".mp4", ".webm"], "images": [".jpg",".jpeg",".png",".bmp"], - "gifs": [".gif"] + "gifs": [".gif"], + "self": [] } for type in GLOBAL.arguments.skip: