mirror of
https://github.com/beetbox/beets.git
synced 2026-02-10 09:25:42 +01:00
Removed pdb stuff and cleeaned up description.
This commit is contained in:
parent
8525983791
commit
7a7d009671
1 changed files with 1 additions and 4 deletions
|
|
@ -28,7 +28,6 @@ import logging
|
|||
import pylast
|
||||
import os
|
||||
import yaml
|
||||
import pdb
|
||||
|
||||
from beets import plugins
|
||||
from beets import ui
|
||||
|
|
@ -84,12 +83,10 @@ def _find_allowed(genres):
|
|||
comma delimited genres in the sequence `genres` that is present
|
||||
in the genre whitelist or an empty string if no genre is suitable
|
||||
or if multiple_genres is set to its default value of False, return
|
||||
the original argument.
|
||||
the first genre found.
|
||||
"""
|
||||
allowed_genres = []
|
||||
|
||||
pdb.set_trace()
|
||||
|
||||
for genre in list(genres):
|
||||
if _is_allowed(genre):
|
||||
allowed_genres.append(genre.title())
|
||||
|
|
|
|||
Loading…
Reference in a new issue