()
| 355 | return sorted(tutorial_data[get_host()].keys()) |
| 356 | |
| 357 | def get_language_names(): |
| 358 | arr = [] |
| 359 | langs = get_languages() |
| 360 | for lang in langs: |
| 361 | arr.append(LANGUAGES.get(lang)) |
| 362 | return arr |
| 363 | |
| 364 | def get_host(): |
| 365 | if is_development_mode() or "ondigitalocean.app" in request.host: |
no test coverage detected