fix: since when str can't use is/is not
This commit is contained in:
parent
9ad1ce38ee
commit
b266a1a2df
3 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ async def info_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> No
|
|||
f"{html_parser.hyperlink("»", f"http://{app.hostname}/media_assets/{post_data['media_asset']['id']}")}"
|
||||
)
|
||||
m.append(
|
||||
f"Source: {post_data['source'] if post_data['source'] is not "" else "🚫"}"
|
||||
f"Source: {post_data['source'] if post_data['source'] != "" else "🚫"}"
|
||||
)
|
||||
m.append(f"Rating: {format_rating(post_data['rating'])}")
|
||||
m.append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue