mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 06:34:19 +01:00
Moves EncryptedBlob to common
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import re
|
||||
|
||||
|
||||
class Blob:
|
||||
def __init__(self, data):
|
||||
if type(data) is not str or re.search(r"^[0-9A-Fa-f]+$", data) is None:
|
||||
raise ValueError("Non-Hex character found in transaction.")
|
||||
|
||||
self.data = data
|
||||
@@ -11,7 +11,7 @@ from uuid import uuid4
|
||||
|
||||
from apps.cli import config, LOG_PREFIX
|
||||
from apps.cli.help import help_add_appointment, help_get_appointment
|
||||
from apps.cli.blob import Blob
|
||||
from common.blob import Blob
|
||||
|
||||
import common.cryptographer
|
||||
from common import constants
|
||||
|
||||
Reference in New Issue
Block a user