Skip to content

Commit

Permalink
Refix
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentDemonSD authored Nov 27, 2022
1 parent 407193a commit e163f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/ext_utils/shortenurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
SHORTENER_API = config_dict['SHORTENER_API']
SHORTENER = config_dict['SHORTENER']
def short_url(longurl):
if SHORTENER is '' and SHORTENER_API is '':
if SHORTENER == '' and SHORTENER_API == '':
return longurl
try:
cget = create_scraper().get
Expand Down

0 comments on commit e163f0e

Please sign in to comment.