mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
bug fixes (#2515)
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
This commit is contained in:
@@ -551,8 +551,6 @@ def get_wsb_community(
|
||||
|
||||
subs = []
|
||||
|
||||
console.print(submissions)
|
||||
|
||||
try:
|
||||
for submission in submissions:
|
||||
submission = praw_api.submission(id=submission.id)
|
||||
|
||||
@@ -361,6 +361,18 @@ class KeysController(BaseController): # pylint: disable=too-many-public-methods
|
||||
username=cfg.API_REDDIT_USERNAME,
|
||||
user_agent=cfg.API_REDDIT_USER_AGENT,
|
||||
password=cfg.API_REDDIT_PASSWORD,
|
||||
check_for_updates=False,
|
||||
comment_kind="t1",
|
||||
message_kind="t4",
|
||||
redditor_kind="t2",
|
||||
submission_kind="t3",
|
||||
subreddit_kind="t5",
|
||||
trophy_kind="t6",
|
||||
oauth_url="https://oauth.reddit.com",
|
||||
reddit_url="https://www.reddit.com",
|
||||
short_url="https://redd.it",
|
||||
ratelimit_seconds=5,
|
||||
timeout=16,
|
||||
)
|
||||
|
||||
praw_api.user.me()
|
||||
|
||||
Reference in New Issue
Block a user