slight restructuring around tracking our posts

This commit is contained in:
msk
2022-10-02 04:57:24 -07:00
parent 65b554f014
commit 7f2dfaa3f0
7 changed files with 105 additions and 58 deletions
+5 -1
View File
@@ -7,6 +7,7 @@ import code
import nest_asyncio
import talent_lists
import ttweetqueue as ttq
import api_secrets
import catchup
import listen
@@ -97,11 +98,14 @@ def main():
## We expect to run in some mode now.
# Initialize shared API instance
twApi = TwAPI.instance = TwAPI()
TwAPI()
# Initialize talent account lists
talent_lists.init()
# Initialize queue files system
ttq.TalentTweetQueue()
## Asynchronous execution
nest_asyncio.apply()
asyncio.run(async_main())