mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 08:14:43 +00:00
revert to for-loop for creating albums
- use ThreadPoolExecutor to create tracks
This commit is contained in:
1 parent
86c2744e07
commit
7c38b0a9f3
5 files changed
+119
-100
No files matched your search
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user