Restyled by black

This commit is contained in:
Restyled.io
2021-05-22 01:26:33 +00:00
parent 58e8ba2347
commit 544c57ff1f
52 changed files with 3303 additions and 2729 deletions

View File

@@ -15,7 +15,7 @@ class Service:
self.__alias = alias
for s in alias:
c = ord(s)
if c < 0x20 or c == 0x7f:
if c < 0x20 or c == 0x7F:
raise TypeError()
self.__service = service
@@ -27,7 +27,7 @@ class Service:
ns = ""
for s in text:
c = ord(s)
if c == 0x2e or c == 0x5c:
if c == 0x2E or c == 0x5C:
ns += "\\"
ns += s
return ns