diff options
| author | Alexandre Flament <alex@al-f.net> | 2017-01-27 13:47:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-27 13:47:59 +0000 |
| commit | e67dfaaac7991b299dd9c33ae69e7028cd8f6589 (patch) | |
| tree | 506ed1dd4a527e37c902035d84215ed2be2577d9 /searx/utils.py | |
| parent | 7a16aca346c14994f304a6961c55b63ab260265a (diff) | |
| parent | ee1d44caf9bb9b0fb1b3bafbcbff74486b5449e8 (diff) | |
Merge branch 'master' into flask_perimeter
Diffstat (limited to 'searx/utils.py')
| -rw-r--r-- | searx/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/utils.py b/searx/utils.py index faa634853..35cb6f8a6 100644 --- a/searx/utils.py +++ b/searx/utils.py @@ -175,6 +175,8 @@ def get_themes(root): templates_path = os.path.join(root, 'templates') themes = os.listdir(os.path.join(static_path, 'themes')) + if '__common__' in themes: + themes.remove('__common__') return static_path, templates_path, themes |