Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Commit

Permalink
0.5.1 - Release
Browse files Browse the repository at this point in the history
  • Loading branch information
MurdoMaclachlan authored Jun 8, 2021
2 parents a3e9a55 + 8f1a182 commit 58b05e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clone_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def logPost(lines: Dict) -> NoReturn:
log.write(f"At {getTime(post.created_utc)}\n")
log.write(line+"\n")

def checkPost(post: object) -> NoReturn:
def checkPost(post: praw.models.Submission) -> NoReturn:
global Globals

# If there is no flair and the title matches the title of the previous,
Expand All @@ -63,7 +63,7 @@ def checkPost(post: object) -> NoReturn:
logPost(["Skipping post at: https://reddit.com{post.permalink}."])

# Class for all important variables
class Globals():
class Globals:
def __init__(self):
self.DEBUG = False
self.postData = {
Expand All @@ -73,7 +73,7 @@ def __init__(self):
}
self.skip = False
self.VERBOSE = False
self.VERSION = "0.5"
self.VERSION = "0.5.1"
self.WAIT = 30

def setPreviousPost(self, data: Dict) -> NoReturn:
Expand Down

0 comments on commit 58b05e0

Please sign in to comment.