Fixes missing arguments (#35)
This commit is contained in:
parent
886a0cecd2
commit
b9d82dc073
1 changed files with 5 additions and 5 deletions
|
@ -753,7 +753,7 @@ if __name__ == "__main__":
|
||||||
log(f"Error getting callback url: {ex}")
|
log(f"Error getting callback url: {ex}")
|
||||||
|
|
||||||
if arguments.lock_file is None:
|
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
|
LOCK_FILE = arguments.lock_file
|
||||||
|
|
||||||
if( os.path.exists(LOCK_FILE)):
|
if( os.path.exists(LOCK_FILE)):
|
||||||
|
@ -789,10 +789,10 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
SEEN_URLS_FILE = os.path.join(arguments.state, "seen_urls")
|
SEEN_URLS_FILE = os.path.join(arguments.state_dir, "seen_urls")
|
||||||
REPLIED_TOOT_SERVER_IDS_FILE = os.path.join(arguments.state, "replied_toot_server_ids")
|
REPLIED_TOOT_SERVER_IDS_FILE = os.path.join(arguments.state_dir, "replied_toot_server_ids")
|
||||||
KNOWN_FOLLOWINGS_FILE = os.path.join(arguments.state, "known_followings")
|
KNOWN_FOLLOWINGS_FILE = os.path.join(arguments.state_dir, "known_followings")
|
||||||
RECENTLY_CHECKED_USERS_FILE = os.path.join(arguments.state, "recently_checked_users")
|
RECENTLY_CHECKED_USERS_FILE = os.path.join(arguments.state_dir, "recently_checked_users")
|
||||||
|
|
||||||
|
|
||||||
seen_urls = OrderedSet([])
|
seen_urls = OrderedSet([])
|
||||||
|
|
Loading…
Reference in a new issue