Skip to content

Commit 565f90a

Browse files
committed
Update regarding commit 8f5c35b
1 parent 52479c6 commit 565f90a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/utils/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def create_github_issue(err_msg, exc_msg):
171171

172172
key = hashlib.md5(_).hexdigest()[:8]
173173

174-
bug_report = "Bug Report: Unhandled exception \"" + str([i for i in exc_msg.split(settings.END_LINE.LF) if i][-1]) + "\" " + "(#" + key + ")"
174+
bug_report = "Bug Report: Unhandled exception \"" + str([i for i in exc_msg.split('\n') if i][-1]) + "\" " + "(#" + key + ")"
175175

176176
while True:
177177
try:
@@ -292,14 +292,14 @@ def unhandled_exception():
292292
raise SystemExit()
293293

294294
elif all(_ in exc_msg for _ in ("No such file", "_'")):
295-
err_msg = "Corrupted installation detected ('" + exc_msg.strip().split(settings.END_LINE.LF)[-1] + "'). "
295+
err_msg = "Corrupted installation detected ('" + exc_msg.strip().split('\n')[-1] + "'). "
296296
err_msg += "You should retrieve the latest (dev) version from official GitHub "
297297
err_msg += "repository at '" + settings.GIT_URL + "'."
298298
settings.print_data_to_stdout(settings.print_critical_msg(err_msg))
299299
raise SystemExit()
300300

301301
elif "Invalid IPv6 URL" in exc_msg:
302-
err_msg = "invalid URL ('" + exc_msg.strip().split(settings.END_LINE.LF)[-1] + "')"
302+
err_msg = "invalid URL ('" + exc_msg.strip().split('\n')[-1] + "')"
303303
settings.print_data_to_stdout(settings.print_critical_msg(err_msg))
304304
raise SystemExit()
305305

src/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def sys_argv_errors():
261261
DESCRIPTION = "The command injection exploiter"
262262
AUTHOR = "Anastasios Stasinopoulos"
263263
VERSION_NUM = "4.1"
264-
REVISION = "113"
264+
REVISION = "114"
265265
STABLE_RELEASE = False
266266
VERSION = "v"
267267
if STABLE_RELEASE:

0 commit comments

Comments
 (0)