Karan Adhikari commited on
Commit
4c27f7b
Β·
unverified Β·
1 Parent(s): 02f9eb2

Change storage check from 'not storage' to 'storage is None'

Browse files
Backend/pyrofork/plugins/utilities.py CHANGED
@@ -289,7 +289,7 @@ async def dbcheck_command(client: Client, message: Message):
289
  try:
290
  for i in range(1, db.current_db_index + 1):
291
  storage = db.dbs.get(f"storage_{i}")
292
- if not storage:
293
  continue
294
 
295
  # ───────── MOVIES ─────────
 
289
  try:
290
  for i in range(1, db.current_db_index + 1):
291
  storage = db.dbs.get(f"storage_{i}")
292
+ if storage is None:
293
  continue
294
 
295
  # ───────── MOVIES ─────────