1
0
Fork 0
mirror of synced 2024-06-03 02:44:39 +12:00

Added .md as a possible extension

This commit is contained in:
Ali Parlakci 2018-07-10 03:12:24 +03:00
parent a796038b71
commit ffe3839aee

View file

@ -311,7 +311,7 @@ def postExists(POST):
title = nameCorrector(POST['postTitle'])
FILENAME = title + "_" + POST['postId']
PATH = GLOBAL.directory / POST["postSubreddit"]
possibleExtensions = [".jpg",".png",".mp4",".gif",".webm"]
possibleExtensions = [".jpg",".png",".mp4",".gif",".webm",".md"]
for i in range(2):
for extension in possibleExtensions: