From 76673a933fb325f9939165325e34e1748b5f0d96 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Wed, 28 Aug 2024 14:19:22 +0200 Subject: [PATCH] [WebInterface] add force_simulator=True to import profile --- Services/Interfaces/web_interface/models/profiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Services/Interfaces/web_interface/models/profiles.py b/Services/Interfaces/web_interface/models/profiles.py index 03ccce95e..5ef719bd6 100644 --- a/Services/Interfaces/web_interface/models/profiles.py +++ b/Services/Interfaces/web_interface/models/profiles.py @@ -186,7 +186,8 @@ def import_strategy_as_profile(authenticator, strategy: community.StrategyData, risk=strategy.get_risk(), origin_url=strategy.get_product_url(), logo_url=strategy.logo_url, - auto_update=strategy.is_auto_updated() + auto_update=strategy.is_auto_updated(), + force_simulator=True ) ) interfaces_util.get_edited_config(dict_only=False).load_profiles()