FATAL:fixed encoding bug for nfregex that was blocking this function!

This commit is contained in:
Domingo Dirutigliano
2024-04-09 03:52:10 +02:00
parent be9b4c12f0
commit 11ec3a16a1
3 changed files with 4 additions and 1 deletions

View File

@@ -27,4 +27,5 @@ class Regex:
@classmethod
def from_dict(cls, var: dict):
var['regex'] = base64.b64decode(var['regex'])
return cls(**var)