Bug fix at direct links
This commit is contained in:
1 parent
2ab16608d5
commit
3e3a2df4d1
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -397,7 +397,7 @@ def checkIfMatching(submission):
|
||||
imgurCount += 1
|
||||
return details
|
||||
|
||||
elif isDirectLink(submission.url) is not None:
|
||||
elif isDirectLink(submission.url) is not False:
|
||||
details['postType'] = 'direct'
|
||||
details['postURL'] = isDirectLink(submission.url)
|
||||
directCount += 1
|
||||
|
||||
Reference in new issue
Block a user