Fix collection popping.

This commit is contained in:
Toke Stuart Jepsen 2020-06-24 10:32:57 +01:00
parent fc1f889608
commit 1616d59854

View file

@ -52,7 +52,7 @@ def get_ftrack_event_mongo_info():
if not _used_ftrack_url or components["database"] is None:
components["database"] = database_name
components.pop("collection")
components.pop("collection", None)
uri = compose_url(**components)