Skip to content

Commit

Permalink
Wrong hashing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iu2frl committed Sep 27, 2023
1 parent 21b5128 commit 249bacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __init__(self, inputTitle: str, inputDate: str, inputAuthor: str, inputSumma
cleanLink = inputLink.strip().lower()
self.link = "[" + self.title + "](" + cleanLink + ")"
# Calculate checksum
self.checksum = hashlib.md5(self.link.encode('utf-8')).hexdigest()
self.checksum = hashlib.md5(cleanLink.encode('utf-8')).hexdigest()
pass

# Extract domain from URL
Expand Down

0 comments on commit 249bacc

Please sign in to comment.