diff --git a/.gitignore b/.gitignore index f58eeed..a46fef0 100644 --- a/.gitignore +++ b/.gitignore @@ -237,3 +237,4 @@ FakesAssemblies/ /res/gallery_ext_ico.ico /res/sample.png *.hpdb +/plugins diff --git a/version/gallerydb.py b/version/gallerydb.py index 08747c5..5b4cb71 100644 --- a/version/gallerydb.py +++ b/version/gallerydb.py @@ -496,8 +496,9 @@ def check_exists(name, galleries=None, filter=True): Note: key will be normcased """ #pdb.set_trace() - if not galleries: + if galleries is None: galleries = app_constants.GALLERY_DATA + app_constants.GALLERY_ADDITION_DATA + filter = True if filter: filter_list = []