Crash if post is missing flair
Closed this issue · 0 comments
MollyMaclachlan commented
I broke the whole point of the program, hell yeah.
Traceback (most recent call last):
File "/home/murdo/.grafeas/programs/clone_finder/clone_finder.py", line 109, in <module>
checkPost(post)
File "/home/murdo/.grafeas/programs/clone_finder/clone_finder.py", line 34, in checkPost
if post.link_flair_text is None and post.title == Globals.data["previousPostTitle"]:
AttributeError: 'Globals' object has no attribute 'data'
It should be Globals.postData
instead.
Will add to next update.