fixed 'SyntaxWarning: invalid escape sequence' for Python 3.12+

This commit is contained in:
exploide 2023-12-14 18:20:04 +01:00
parent 4ea3d7b765
commit e9bd8a43ef
4 changed files with 6 additions and 6 deletions

4
settings.py Executable file → Normal file
View file

@ -243,10 +243,10 @@ class Settings:
if self.Serve_Exe == True:
if not os.path.exists(self.Html_Filename):
print(utils.color("/!\ Warning: %s: file not found" % self.Html_Filename, 3, 1))
print(utils.color("/!\\ Warning: %s: file not found" % self.Html_Filename, 3, 1))
if not os.path.exists(self.Exe_Filename):
print(utils.color("/!\ Warning: %s: file not found" % self.Exe_Filename, 3, 1))
print(utils.color("/!\\ Warning: %s: file not found" % self.Exe_Filename, 3, 1))
# SSL Options
self.SSLKey = config.get('HTTPS Server', 'SSLKey')