Added .md as a possible extension
This commit is contained in:
1 parent
a796038b71
commit
ffe3839aee
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user