Merge pull request #87 from gabrielcancel/master

fix:  missing exception and unused import
This commit is contained in:
papiche 2024-03-01 11:57:34 +01:00 committed by GitHub
commit 12a7958ea8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,6 @@ import os
import re
import struct
import sys
import time
import warnings
__version__='0.0.5'
@ -610,7 +609,7 @@ class keygen:
try:
self.ed25519_seed_bytes_from_duniterpy()
self.ed25519_from_seed_bytes()
except:
except Exception as e:
log.error(f'Unable to get ed25519 from duniterpy: {e}')
self._cleanup()
exit(2)