Merge pull request #178 from 3rd-party-integrations/primetheus/update-deps
Fix broken dependencies
This commit is contained in:
Коммит
e9dff9336f
2
Pipfile
2
Pipfile
|
@ -7,7 +7,7 @@ verify_ssl = true
|
|||
pytest = "*"
|
||||
pytest-mock = "*"
|
||||
isort = "*"
|
||||
black = "==21.11b1"
|
||||
black = "*"
|
||||
pre-commit = "*"
|
||||
pylint = "*"
|
||||
seed-isort-config = "*"
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
1
app.py
1
app.py
|
@ -381,6 +381,7 @@ def get_directory_from_slug(slug, custom_map, org):
|
|||
elif slug in custom_map:
|
||||
return custom_map[slug]
|
||||
|
||||
|
||||
if "FLASK_APP" in os.environ:
|
||||
thread = threading.Thread(target=sync_all_teams)
|
||||
thread.start()
|
||||
|
|
|
@ -106,7 +106,9 @@ class LDAPClient:
|
|||
else:
|
||||
email = None
|
||||
if "EMU_SHORTCODE" in os.environ:
|
||||
username = username + "_" + os.environ["EMU_SHORTCODE"]
|
||||
username = (
|
||||
username + "_" + os.environ["EMU_SHORTCODE"]
|
||||
)
|
||||
user_info = {"username": username, "email": email}
|
||||
member_list.append(user_info)
|
||||
except Exception as e:
|
||||
|
|
Загрузка…
Ссылка в новой задаче