From e163f0ebb7409e1a351d88ca75202825b662d7b6 Mon Sep 17 00:00:00 2001 From: Silent Demon <105407900+SilentDemonSD@users.noreply.github.com> Date: Sun, 27 Nov 2022 21:35:50 +0530 Subject: [PATCH] Refix --- bot/helper/ext_utils/shortenurl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/ext_utils/shortenurl.py b/bot/helper/ext_utils/shortenurl.py index d271a1dd78..0f2a899def 100644 --- a/bot/helper/ext_utils/shortenurl.py +++ b/bot/helper/ext_utils/shortenurl.py @@ -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