Skip to content

Commit

Permalink
More bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nubuki-all committed Jun 18, 2024
1 parent 61ef3cd commit 3639f3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(self):
self.batch_queue = {}
self.cached = False
self.cached_dl = False
self.display_additional_dl_info = True
self.display_additional_dl_info = False
self.docker_deployed = False
self.e_cancel = {}
self.group_enc = False
Expand Down
2 changes: 1 addition & 1 deletion bot/utils/msg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async def enpause(message):
pause_msg = (
" `Bot has been paused to continue, unpause bot using the /pause command`"
)
while _bot.pauselist:
while _bot.paused:
try:
await message.edit(enmoji() + pause_msg)
await asyncio.sleep(10)
Expand Down
3 changes: 1 addition & 2 deletions bot/workers/auto/transcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ async def thing():
get_args(*args_list, to_parse=einfo.uri, get_unknown=True)
)[1]

cached = await cache_dl(check=True)
if cached:
if await cache_dl(check=True):
raise (AlreadyDl)

sdt = time.time()
Expand Down

0 comments on commit 3639f3a

Please sign in to comment.