|
@ -61,7 +61,6 @@ def check_imports(): |
|
|
import certifi |
|
|
import certifi |
|
|
import qrcode |
|
|
import qrcode |
|
|
import google.protobuf |
|
|
import google.protobuf |
|
|
import jsonrpclib |
|
|
|
|
|
import aiorpcx |
|
|
import aiorpcx |
|
|
except ImportError as e: |
|
|
except ImportError as e: |
|
|
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'") |
|
|
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'") |
|
@ -70,7 +69,6 @@ def check_imports(): |
|
|
from google.protobuf import message |
|
|
from google.protobuf import message |
|
|
from google.protobuf import reflection |
|
|
from google.protobuf import reflection |
|
|
from google.protobuf import descriptor_pb2 |
|
|
from google.protobuf import descriptor_pb2 |
|
|
from jsonrpclib import SimpleJSONRPCServer |
|
|
|
|
|
# make sure that certificates are here |
|
|
# make sure that certificates are here |
|
|
assert os.path.exists(certifi.where()) |
|
|
assert os.path.exists(certifi.where()) |
|
|
|
|
|
|
|
|