revert to for-loop for creating albums

- use ThreadPoolExecutor to create tracks
This commit is contained in:
geoffrey45
2022-05-10 08:22:41 +03:00
parent 86c2744e07
commit 7c38b0a9f3
5 changed files with 119 additions and 100 deletions
+1
View File
@@ -23,6 +23,7 @@ class Albums(db.Mongo):
"""
Inserts a new album object into the database.
"""
album = album.__dict__
return self.collection.update_one(
{
"album": album["title"],