break down the api blueprint into smaller blueprints

This commit is contained in:
geoffrey45
2022-03-20 16:29:31 +03:00
parent 1908633f9d
commit e889d0ef55
24 changed files with 460 additions and 336 deletions
+2 -2
View File
@@ -6,8 +6,9 @@ from watchdog.observers import Observer
from watchdog.events import PatternMatchingEventHandler
from app import instances, functions
from app import api, models
from app import models
from app import albumslib
from app import api
class OnMyWatch:
@@ -49,7 +50,6 @@ def add_track(filepath: str) -> None:
api.TRACKS.append(models.Track(track))
def remove_track(filepath: str) -> None:
"""
Removes a track from the music dict.