Преглед изворни кода

Update README.md & some quick fix in config generation

notcammy пре 7 година
родитељ
комит
9212170e20
3 измењених фајлова са 4 додато и 4 уклоњено
  1. 2 2
      MOREHELP.md
  2. 1 1
      README.md
  3. 1 1
      pyinstalive/initialize.py

+ 2 - 2
MOREHELP.md

@@ -14,7 +14,7 @@
 - ```-nr``` or ```--noreplays```  **—**  When this flag is passed, PyInstaLive will not check for any available replays. Overrides the configuration file.
 
 
-# Configuration file
+# Default configuration file
 
 ```ini
 [pyinstalive]
@@ -26,7 +26,7 @@ clear_temp_files = false
 save_replays = true
 run_at_start =
 run_at_finish =
-save_comments = true 
+save_comments = false 
 ```
 
 ```username```  **—**  Instagram username to login with.

+ 1 - 1
README.md

@@ -61,7 +61,7 @@ clear_temp_files = false
 save_replays = true
 run_at_start =
 run_at_finish =
-save_comments = true
+save_comments = false
 ```
 
 Use the following command to run PyInstaLive:

+ 1 - 1
pyinstalive/initialize.py

@@ -234,7 +234,7 @@ def new_config():
 		else:
 			try:
 				log("[W] Could not find configuration file, creating a default one...", "YELLOW")
-				config_template = "[pyinstalive]\nusername = johndoe\npassword = grapefruits\nsave_path = " + os.getcwd() + "\nshow_cookie_expiry = true\nclear_temp_files = false\nsave_replays = true\nrun_at_start = \nrun_at_finish = \n"
+				config_template = "[pyinstalive]\nusername = johndoe\npassword = grapefruits\nsave_path = " + os.getcwd() + "\nshow_cookie_expiry = true\nclear_temp_files = false\nsave_replays = true\nrun_at_start = \nrun_at_finish = \nsave_comments = false\n"
 				config_file = open("pyinstalive.ini", "w")
 				config_file.write(config_template)
 				config_file.close()