Skip to content

Commit 075c760

Browse files
authored
Update cPanel.py
1 parent 25bc9b8 commit 075c760

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cPanel.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ def main():
193193
num_threads = args.thread
194194

195195
try:
196-
with open(url_filename) as f:
196+
with open(url_filename, encoding='utf-8') as f:
197197
urls = [line.strip() for line in f]
198198

199-
with open(username_filepath, "r") as file:
199+
with open(username_filepath, "r", encoding='utf-8') as file:
200200
usernames = [line.strip() for line in file]
201201

202-
with open(password_filepath, "r") as file:
202+
with open(password_filepath, "r", encoding='utf-8') as file:
203203
password = file.read().strip()
204204

205205
with concurrent.futures.ThreadPoolExecutor(max_workers=num_threads) as executor:
@@ -209,4 +209,4 @@ def main():
209209
print(f"{FR}File not found: {e.filename}")
210210

211211
if __name__ == "__main__":
212-
main()
212+
main()

0 commit comments

Comments
 (0)