Better threads handling
This commit is contained in:
parent
49ddb955cd
commit
200c6edc18
2 changed files with 67 additions and 10 deletions
|
@ -58,7 +58,7 @@ with open(os.path.join(KEY_DIR, "me.yml")) as f:
|
|||
THEME_COLOR = conf.get("theme_color")
|
||||
|
||||
USER_AGENT = (
|
||||
f"{requests.utils.default_user_agent()} " f"(microblog.pub/{VERSION}; +{BASE_URL})"
|
||||
f"{requests.utils.default_user_agent()} (microblog.pub/{VERSION}; +{BASE_URL})"
|
||||
)
|
||||
|
||||
mongo_client = MongoClient(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue