|
|
@ -41,9 +41,8 @@ def get_subreddit_threads(POST_ID: str):
|
|
|
|
check_for_async=False,
|
|
|
|
check_for_async=False,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
except ResponseException as e:
|
|
|
|
except ResponseException as e:
|
|
|
|
match e.response.status_code:
|
|
|
|
if e.response.status_code == 401:
|
|
|
|
case 401:
|
|
|
|
print("Invalid credentials - please check them in config.toml")
|
|
|
|
print("Invalid credentials - please check them in config.toml")
|
|
|
|
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
print("Something went wrong...")
|
|
|
|
print("Something went wrong...")
|
|
|
|
|
|
|
|
|
|
|
|