From 7238b0a2e3e3724b179d1e50dd7d0d941ef6d7f8 Mon Sep 17 00:00:00 2001 From: Muzahid Date: Thu, 24 Jun 2021 23:19:00 +0530 Subject: [PATCH] update helper random import --- src/helper_random.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/helper_random.py b/src/helper_random.py index 54db5acf..6f412353 100644 --- a/src/helper_random.py +++ b/src/helper_random.py @@ -2,7 +2,10 @@ import os import random -from pyelliptic.openssl import OpenSSL +try: + from pyelliptic.openssl import OpenSSL +except ModuleNotFoundError: + from .pyelliptic.openssl import OpenSSL NoneType = type(None)