minor refactoring

This commit is contained in:
geoffrey45
2022-02-16 18:32:34 +03:00
parent 093c64f534
commit 8b25fc4844
3 changed files with 12 additions and 6 deletions
+4 -1
View File
@@ -34,7 +34,7 @@ def background(func):
@background
def check_for_new_songs():
def reindex_tracks():
"""
Checks for new songs every 5 minutes.
"""
@@ -48,6 +48,9 @@ def check_for_new_songs():
@background
def start_watchdog():
"""
Starts the file watcher.
"""
watchdoge.watch.run()