diff options
author | emkael <emkael@tlen.pl> | 2024-01-22 01:46:26 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2024-01-22 01:46:26 +0100 |
commit | 03b12e38ffa1b135b08573b9d26bfa61c7b9715e (patch) | |
tree | b7ab12edc6c9ce8f942fc7f3e016e68925561ec8 | |
parent | da97cd934466425d66e1ba8aea29fb71e9be2f59 (diff) |
Circular import no longer a risk
-rw-r--r-- | squaredeal/__init__.py | 3 |
1 files changed, 1 insertions, 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) |