Karan Adhikari commited on
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
|
| 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 βββββββββ
|