Fix modulation filter to check for multiple entries separated by

semicolon. Also add a check to remove duplicated signals when
loading the database from file
This commit is contained in:
alessandro90
2019-06-07 23:23:09 +02:00
parent 8cb81dd225
commit 8859495068
2 changed files with 7 additions and 4 deletions

View File

@@ -176,6 +176,7 @@ class Constants:
EXTRACTING_CODE = -1
NOT_AVAILABLE = "spectrumnotavailable.png"
NOT_SELECTED = "nosignalselected.png"
FIELD_SEPARATOR = ";"
DEFAULT_IMGS_FOLDER = os.path.join(":", "pics", "default_pics")
DEFAULT_NOT_SELECTED = os.path.join(DEFAULT_IMGS_FOLDER, NOT_SELECTED)
DEFAULT_NOT_AVAILABLE = os.path.join(DEFAULT_IMGS_FOLDER, NOT_AVAILABLE)