Skip to content

Commit

Permalink
Fixes missing arguments (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanos committed Apr 5, 2023
1 parent 886a0ce commit b9d82dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions find_posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def toJSON(self):
log(f"Error getting callback url: {ex}")

if arguments.lock_file is None:
arguments.lock_file = os.path.join(arguments.state, 'lock.lock')
arguments.lock_file = os.path.join(arguments.state_dir, 'lock.lock')
LOCK_FILE = arguments.lock_file

if( os.path.exists(LOCK_FILE)):
Expand Down Expand Up @@ -789,10 +789,10 @@ def toJSON(self):

try:

SEEN_URLS_FILE = os.path.join(arguments.state, "seen_urls")
REPLIED_TOOT_SERVER_IDS_FILE = os.path.join(arguments.state, "replied_toot_server_ids")
KNOWN_FOLLOWINGS_FILE = os.path.join(arguments.state, "known_followings")
RECENTLY_CHECKED_USERS_FILE = os.path.join(arguments.state, "recently_checked_users")
SEEN_URLS_FILE = os.path.join(arguments.state_dir, "seen_urls")
REPLIED_TOOT_SERVER_IDS_FILE = os.path.join(arguments.state_dir, "replied_toot_server_ids")
KNOWN_FOLLOWINGS_FILE = os.path.join(arguments.state_dir, "known_followings")
RECENTLY_CHECKED_USERS_FILE = os.path.join(arguments.state_dir, "recently_checked_users")


seen_urls = OrderedSet([])
Expand Down

0 comments on commit b9d82dc

Please sign in to comment.