1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Fix a bug caused by refactoring/flake8ing.

This commit is contained in:
Shlomi Fish 2017-04-16 22:54:20 +03:00
parent 8c4887b70b
commit e2cb4d8e79

View file

@ -955,10 +955,10 @@ class FreeCellSolver_Hint(Base_Solver_Hint):
else: else:
m = re.match( m = re.match(
'(?P<ncards>a card|(?P<count>\d+) cards) ' '(?P<ncards>a card|(?P<count>\d+) cards) '
'from (?P<source_type>stack|freecell)' 'from (?P<source_type>stack|freecell) '
'(?P<source_idx>\d+) to ' '(?P<source_idx>\d+) to '
'(?P<dest>the foundations|(?P<dest_type>freecell|stack)' '(?P<dest>the foundations|(?P<dest_type>freecell|stack) '
' (?P<dest_idx>\d+))\s*', move_s) '(?P<dest_idx>\d+))\s*', move_s)
if not m: if not m:
continue continue