mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Require a minimal version of "attr".
See: https://github.com/shlomif/PySolFC/issues/159 . Thanks to @radub7 for the report.
This commit is contained in:
parent
39f181e087
commit
0ac4339252
1 changed files with 5 additions and 0 deletions
|
@ -78,6 +78,11 @@ if TOOLKIT == 'tk':
|
||||||
else:
|
else:
|
||||||
from pysollib.pysoltk import reset_solver_dialog
|
from pysollib.pysoltk import reset_solver_dialog
|
||||||
|
|
||||||
|
# See: https://github.com/shlomif/PySolFC/issues/159 .
|
||||||
|
# 'factory=' is absent from older versions.
|
||||||
|
assert getattr(attr, '__version_info__', (0, 0, 0)) >= (18, 2, 0), (
|
||||||
|
"Newer version of https://pypi.org/project/attrs/ is required.")
|
||||||
|
|
||||||
|
|
||||||
PLAY_TIME_TIMEOUT = 200
|
PLAY_TIME_TIMEOUT = 200
|
||||||
S_PLAY = 0x40
|
S_PLAY = 0x40
|
||||||
|
|
Loading…
Add table
Reference in a new issue