diff --git a/akarpov/music/services/db.py b/akarpov/music/services/db.py index 8dded45..f1a1dea 100644 --- a/akarpov/music/services/db.py +++ b/akarpov/music/services/db.py @@ -61,9 +61,7 @@ def load_track( # Check if title is in name if title in name_clean: name = search_info["title"] - elif name: - name = name - else: + elif not name: name = process_track_name(" ".join(p_name.strip().split("-"))) if not name: