From 03b12e38ffa1b135b08573b9d26bfa61c7b9715e Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 22 Jan 2024 01:46:26 +0100 Subject: Circular import no longer a risk --- squaredeal/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/squaredeal/__init__.py b/squaredeal/__init__.py index 03b091d..aba6cad 100644 --- a/squaredeal/__init__.py +++ b/squaredeal/__init__.py @@ -1,6 +1,6 @@ import os -from squaredeal.sqd import SQD, SQDPhase, generate_session_key +from squaredeal.sqd import SQD, SQDPhase, generate_session_key, validate_board_range_str class SquareDealError(Exception): @@ -8,7 +8,6 @@ class SquareDealError(Exception): def squaredeal_board_range(arg_str): - from squaredeal.sqd import validate_board_range_str ranges = [] for range_str in arg_str.split(','): range_match = re.match(r'^([0-9]+)x([0-9]+)$', range_str) -- cgit v1.2.3