mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
break down the api blueprint into smaller blueprints
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user