Merge pull request #261 from exploide/fix-escape-sequence-warning

Fixed 'SyntaxWarning: invalid escape sequence' for Python 3.12+
This commit is contained in:
lgandx 2024-01-04 17:32:39 -03:00 committed by GitHub
commit b550dbe4b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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')