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.
This commit is contained in:
Robert Pendell
2020-07-01 07:09:06 -04:00
committed by GitHub
parent b06859ffec
commit 1a708bd0fc

View File

@@ -40,7 +40,8 @@ def getFile(filename,shortFilename,folderDir,imageURL,indent=0, silent=False):
FORMATS = { FORMATS = {
"videos": [".mp4", ".webm"], "videos": [".mp4", ".webm"],
"images": [".jpg",".jpeg",".png",".bmp"], "images": [".jpg",".jpeg",".png",".bmp"],
"gifs": [".gif"] "gifs": [".gif"],
"self": []
} }
for type in GLOBAL.arguments.skip: for type in GLOBAL.arguments.skip: