use full external links for reddit posts

graphs-n-shit
lza_menace 3 years ago
parent ac05271c34
commit 142475a669

@ -41,7 +41,7 @@ def make_post(post):
f"Timestamp (UTC): {post.timestamp}\n\n", f"Timestamp (UTC): {post.timestamp}\n\n",
"Show this poster some love by sending WOW to the following address:\n\n", "Show this poster some love by sending WOW to the following address:\n\n",
f"`{wallet.get_address(account=post.account_index)}`\n\n\n\n", f"`{wallet.get_address(account=post.account_index)}`\n\n\n\n",
f"[View Post]({url_for('post.read', id=post.id)})" f"[View Post]({url_for('post.read', id=post.id, _external=True)})"
] ]
comment = "".join(_comment) comment = "".join(_comment)
reddit_post = Reddit().post(title, url) reddit_post = Reddit().post(title, url)

Loading…
Cancel
Save