Bug fix at direct links

This commit is contained in:
Ali Parlakci
2018-07-20 13:33:50 +03:00
parent 2ab16608d5
commit 3e3a2df4d1
3 changed files with 4 additions and 3 deletions

View File

@@ -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