Better threads handling

This commit is contained in:
Thomas Sileo
2018-06-23 00:29:06 +02:00
parent 49ddb955cd
commit 200c6edc18
2 changed files with 67 additions and 10 deletions

View File

@@ -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(