Skip to content

Commit

Permalink
updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
isidroas committed Jun 9, 2024
1 parent abcad32 commit 649dceb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@
import time
import tty


from rich.console import Console
from rich.logging import RichHandler



from fortuna import Fortuna, FortunaSeedFileError
from fortuna.generator import FortunaNotSeeded
from fortuna.formatters.pools import format_pools
from fortuna.generator import FortunaNotSeeded
from fortuna.tracer import highlighter as tracer_highlighter

LOG = logging.getLogger(__name__)
Expand Down Expand Up @@ -111,7 +108,7 @@ def add_entropy(source=Source.KEY_VALUE):
def log_known_exception():
try:
yield
except (FortunaNotSeeded, FortunaSeedFileError) as e:
except (FortunaNotSeeded, FortunaSeedFileError):
# LOG.error(str(e))
# LOG.exception(e)
pass
Expand Down

0 comments on commit 649dceb

Please sign in to comment.