Skip to content

Commit

Permalink
fix integration of save_inventree_user_settings in run_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
T0jan committed Apr 17, 2023
1 parent 7458f41 commit 87baafd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kintree/config/config_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ def load_category_parameters(categories: list, supplier_config_path: str) -> dic
try:
category_parameters = category_file[category]
break
except: pass
except:
pass
if not category_parameters:
return None

Expand Down
1 change: 1 addition & 0 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ def check_result(status: str, new_part: bool) -> bool:
server='http://127.0.0.1:8000',
username='admin',
password='admin',
proxies={},
user_config_path=settings.INVENTREE_CONFIG):
method_success = False

Expand Down

0 comments on commit 87baafd

Please sign in to comment.