penelope icon indicating copy to clipboard operation
penelope copied to clipboard

SyntaxWarning Message

Open JLowborn opened this issue 1 year ago • 1 comments

After running the program, it shows a SyntaxWarning message due to an invalid escape sequence on the code. This can, although, be considered a minor error, since it doesn't interfere during the usage.

image

JLowborn avatar Jul 16 '24 15:07 JLowborn

This can be corrected by changing line 3008 to :

output = re.sub(r'\n\s', ' ', subprocess.check_output(['ifconfig']).decode())

Its caused by the 3.12 version of Python3

image

stavoxnetworks avatar Jul 19 '24 00:07 stavoxnetworks

Thanks a lot guys for reporting this! This already had been fixed in the dev branch (commit 4d0c7f8) which is now merged into main.

brightio avatar Aug 31 '24 08:08 brightio