Skip to content

Commit

Permalink
Merge pull request BlitzKraft#256 from tushar5526/fix
Browse files Browse the repository at this point in the history
Add markdown to pipfile and remove print statements
  • Loading branch information
kgashok committed Nov 17, 2022
2 parents 3c9dbdb + a3f50fc commit 5671a08
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ tzlocal = "*"
werkzeug = "*"
whitenoise = "*"
python-dotenv = "*"
markdown = "*"

[dev-packages]

Expand Down
40 changes: 26 additions & 14 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions saythanks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ def inbox():

# Grab the inbox from the database.
inbox_db = storage.Inbox(profile['nickname'])
for i in inbox_db.notes:
print(i.body)
is_enabled = storage.Inbox.is_enabled(inbox_db.slug)

is_email_enabled = storage.Inbox.is_email_enabled(inbox_db.slug)
Expand Down Expand Up @@ -331,11 +329,6 @@ def callback_handling():
auth_domain, user_info['sub'])

user_detail_info = requests.get(user_info_url, headers=json_header).json()
# print(f"user_info:{user_info}, user_detail_info:{user_detail_info}")
print("user_url", user_url)
print("user_info_url", user_info_url)
print(f"user_info: {user_info}")
print(f"user_detail_info: {user_detail_info}")

# Add the 'user_info' to Flask session.
session['profile'] = user_info
Expand Down

0 comments on commit 5671a08

Please sign in to comment.