Fixes and small changes

This commit is contained in:
DomySh
2022-07-18 23:01:24 +02:00
parent 985a5f1f14
commit 139fe39130
5 changed files with 10 additions and 21 deletions

View File

@@ -116,7 +116,7 @@ class Service:
class Regex:
def __init__(self, id: int, regex: str, mode: str, service_id: str, is_blacklist: bool, blocked_packets: int, is_case_sensitive: bool, active: bool):
def __init__(self, id: int, regex: bytes, mode: str, service_id: str, is_blacklist: bool, blocked_packets: int, is_case_sensitive: bool, active: bool):
self.regex = regex
self.mode = mode
self.service_id = service_id