From f820eef5f07dff2117ce44259a3099f205406c70 Mon Sep 17 00:00:00 2001 From: tomasvana10 Date: Sun, 28 Apr 2024 16:34:39 +1000 Subject: [PATCH] Fix import error in utils.py --- crossword_puzzle/utils.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crossword_puzzle/utils.py b/crossword_puzzle/utils.py index 486e800ef..7d39b52e9 100644 --- a/crossword_puzzle/utils.py +++ b/crossword_puzzle/utils.py @@ -95,7 +95,7 @@ def find_best_crossword(crossword: Crossword) -> Crossword: crossword # Assume the best crossword is the first crossword ) - from cword_gen import Crossword + from crossword_puzzle.cword_gen import Crossword while attempts <= max_attempts: # Setting the "retry" param to True will make the Crossword class diff --git a/setup.py b/setup.py index be9092eea..eced2ed58 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="crossword_puzzle", - version="1.2.53", + version="1.2.54", author="Tomas Vana", url="https://github.com/tomasvana10/crossword_puzzle", description="Select, generate and play always-unique crosswords.",