Skip to content

Commit

Permalink
more human readable updates for exercise sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
mircealungu committed Nov 29, 2024
1 parent 3b8985c commit 462e971
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions zeeguu/api/utils/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@


MULTI_LANG_TRANSLATOR_AB_TESTING = False
if os.environ.get("MULTI_LANG_TRANSLATOR_AB_TESTING", None) is not None:
MULTI_LANG_TRANSLATOR_AB_TESTING = (
os.environ.get("MULTI_LANG_TRANSLATOR_AB_TESTING") == "True"
)
ab_testing_config = os.environ.get("MULTI_LANG_TRANSLATOR_AB_TESTING", None)
if ab_testing_config is not None:
MULTI_LANG_TRANSLATOR_AB_TESTING = ab_testing_config == "True"
logger.warning(
f"MULTI_LANG_TRANSLATOR_AB_TESTING: {MULTI_LANG_TRANSLATOR_AB_TESTING}"
f"MULTILANG_TRANSLATOR_AB_TESTING: {MULTI_LANG_TRANSLATOR_AB_TESTING}"
)
# MULTI_LANG_TRANSLATOR_AB_TESTING = True


class WordnikTranslate(BaseThirdPartyAPIService):
Expand Down

0 comments on commit 462e971

Please sign in to comment.