diff --git a/Makefile b/Makefile index a47e5c2..25c0241 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: build sync_excempt export_dataset export_stats merge_images export_statistics export_mentions +all: build sync export_dataset export_stats merge_images export_statistics export_mentions build: pip install build diff --git a/drstats.db b/drstats.db index 588ff6f..0a842a6 100644 Binary files a/drstats.db and b/drstats.db differ diff --git a/src/drstats/sync.py b/src/drstats/sync.py index 75709ac..65364fc 100644 --- a/src/drstats/sync.py +++ b/src/drstats/sync.py @@ -32,7 +32,7 @@ async def get_recent_rants(start_from=1, page_size=10): def get_rants(): return dr.get_rants("recent", page_size, start_from)["rants"] - rants = asyncio.wait_for(asyncio.run_in_executor(get_rants), 5) + rants = asyncio.wait_for(loop.run_in_executor(get_rants), 5) page += 1 for rant in rants: