11import difflib
22
3- from cubing_algs .constants import AUF_CHAR
43from cubing_algs .constants import INNER_MOVES
54from cubing_algs .constants import OUTER_WIDE_MOVES
65from cubing_algs .constants import PAUSE_CHAR
76from cubing_algs .constants import ROTATIONS
87
8+ from term_timer .config import AUF_MOVE
99from term_timer .constants import DNF
1010from term_timer .constants import MS_TO_NS_FACTOR
1111from term_timer .constants import SECOND
@@ -195,7 +195,7 @@ def format_alg_aufs(algorithm: str, pre_auf: int, post_auf: int) -> str:
195195 if pre_auf and algorithm :
196196 algorithm_parts = algorithm .split (' ' )
197197 for i , move in enumerate (algorithm_parts ):
198- if move [0 ] == AUF_CHAR :
198+ if move [0 ] == AUF_MOVE :
199199 algorithm_parts [i ] = f'[pre-auf]{ move } [/pre-auf]'
200200 elif move != PAUSE_CHAR :
201201 break
@@ -204,7 +204,7 @@ def format_alg_aufs(algorithm: str, pre_auf: int, post_auf: int) -> str:
204204 if post_auf and algorithm :
205205 algorithm_parts = list (reversed (algorithm .split (' ' )))
206206 for i , move in enumerate (algorithm_parts ):
207- if move [0 ] == AUF_CHAR :
207+ if move [0 ] == AUF_MOVE :
208208 algorithm_parts [i ] = f'[post-auf]{ move } [/post-auf]'
209209 elif move != PAUSE_CHAR :
210210 break
0 commit comments