@@ -50,10 +50,10 @@ def __init__(self, app_name, org_domain):
5050 ).filePath (__network__ )
5151
5252 # Initialize settings with a custom location
53- self .settings_path = QDir (self .base_path ).filePath (
53+ self .config_file_path = QDir (self .base_path ).filePath (
5454 os .path .join (APP_DIR , f'{ app_name } -{ __network__ } .ini' ),
5555 )
56- self .settings = QSettings (self .settings_path , QSettings .IniFormat )
56+ self .settings = QSettings (self .config_file_path , QSettings .IniFormat )
5757
5858 def set_value (self , key , value ):
5959 """
@@ -157,9 +157,7 @@ def build_app_paths(self) -> AppPathsModel:
157157 node_logs_path = os .path .join (node_path , LOG_FOLDER_NAME ),
158158 ldk_logs_path = os .path .join (node_path , '.ldk' , 'logs' , 'logs.txt' ),
159159 pickle_file_path = os .path .join (app_path , 'token.pickle' ),
160- config_file_path = os .path .join (
161- app_path , f"{ APP_NAME } -{ __network__ } .ini" ,
162- ),
160+ config_file_path = self .config_file_path ,
163161 backup_folder_path = os .path .join (
164162 iriswallet_temp_folder_path , 'backup' ,
165163 ),
0 commit comments