Skip to content

Commit

Permalink
GH-245/GH-56: Try to avoid server crash (new way)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Jul 9, 2021
1 parent e8d864e commit 9502d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taccsite_cms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def getsecrets():
def get_subdirs_as_module_names(path):
module_names = []
for entry in os.scandir(path):
if entry.is_dir() and not entry.path.startswith('_'):
if entry.is_dir():
# FAQ: There are different root paths to tweak:
# - Containers use `/code/…`
# - Python Venvs use `/srv/taccsite/…`
Expand Down
2 changes: 1 addition & 1 deletion taccsite_custom

0 comments on commit 9502d7e

Please sign in to comment.