Cammy преди 6 години
родител
ревизия
b8ff0f3008
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      pyinstalive/downloader.py
  2. 1 1
      pyinstalive/settings.py

+ 2 - 2
pyinstalive/downloader.py

@@ -69,10 +69,10 @@ def start_multiple(instagram_api_arg, settings_arg, proc_arg):
 						log_warn("If this is not the case, manually delete the file '{:s}' and try again.".format(user + '.lock'))
 					else:
 						log_info_green("Launching daemon process for '{:s}'...".format(user))
-						if settings_arg.custom_ini_path == 'pyinstalive.ini':
+						if settings_arg.custom_config_path == 'pyinstalive.ini':
 							start_result = run_command("{:s} -d {:s}".format(proc_arg, user))
 						else:
-							start_result = run_command("{:s} -d {:s} -ip '{:s}' -sp '{:s}'".format(proc_arg, user, settings_arg.custom_ini_path, settings_arg.save_path))
+							start_result = run_command("{:s} -d {:s} -ip '{:s}' -sp '{:s}'".format(proc_arg, user, settings_arg.custom_config_path, settings_arg.save_path))
 						if start_result:
 							log_info_green("Could not start processs: {:s}".format(str(start_result)))
 						else:

+ 1 - 1
pyinstalive/settings.py

@@ -17,4 +17,4 @@ class settings:
 	run_at_finish = "None"
 	save_comments = "true"
 	log_to_file = "false"
-	custom_ini_path = 'pyinstalive.ini'
+	custom_config_path = 'pyinstalive.ini'