You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: modules/utils.py
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,34 +22,33 @@
22
22
23
23
# >[Config Management]<
24
24
25
-
defreplace_config_line(file_name, line_num, text, encoding): # replace_config_line("pathto\\config.txt", 5, "new text") <- Example Usage | Last stage of set_config_entry.
25
+
defreplace_config_line(file_name, line_num, text): # replace_config_line("pathto\\config.txt", 5, "new text") <- Example Usage | Last stage of set_config_entry.
26
26
'''
27
27
Replace a line in a text file
28
28
29
29
:param file_name: The path to the file you want to edit
30
30
:param line_num: The line number you want to replace
31
31
:param text: The text that you want to replace the line with
0 commit comments