diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-14 22:31:44 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-14 22:31:44 +0300 |
commit | 7bfcf9a86553f7158673758cd500eece8e9cf132 (patch) | |
tree | 91fa5eb7d894699121c73c6b0691f894d3e1b51e /common/core.py | |
parent | 6cb9f3eb1614f097992e27f2309bf6ca1cd37238 (diff) |
Add wrong API error detection to noninteractive mode
Diffstat (limited to 'common/core.py')
-rw-r--r-- | common/core.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/core.py b/common/core.py index c3e3495..e52cedd 100644 --- a/common/core.py +++ b/common/core.py @@ -28,9 +28,9 @@ def ask_digit_input(max_index): def is_app_url_correct(api_url, needs_auth, username,passwd): - """" + """ Checks if api url is correct, if so then returns the json - """" + """ print("Teostan API kutset...\n") try: if needs_auth: @@ -55,9 +55,9 @@ def is_app_url_correct(api_url, needs_auth, username,passwd): def inspect_json_top_level(json_data): - """" + """ Asks the user json item to extract and returns it as dict item-value pair, where item is name and value json path - """" + """ path = "" while True: |