time stuff
This commit is contained in:
1 parent
88dcb8a475
commit
0e3117e408
2 files changed
+16
-10
No files matched your search
+7
-2
@@ -1,15 +1,20 @@
|
||||
import asyncio
|
||||
import json
|
||||
import re
|
||||
import get_sq_env
|
||||
import aiosqlite
|
||||
from time import time
|
||||
|
||||
import asquare
|
||||
import db
|
||||
import abricksetapi
|
||||
from . throttler import GlobalThrottler
|
||||
from throttler import GlobalThrottler
|
||||
|
||||
LEGO_CAT_ID = get_sq_env.LEGO_CAT_ID
|
||||
|
||||
# big glue boy
|
||||
async def do_review() -> bool:
|
||||
result = await asquare.acat2id(LEGO_CAT_ID)
|
||||
result = await asquare.acat2id(LEGO_CAT_ID) # type: ignore
|
||||
for item in result:
|
||||
if not re.match(r".*\d{5}.*", item["name"]):
|
||||
missing = []
|
||||
|
||||
Reference in new issue
Block a user