Merge branch 'py_vercheck_bug'

This commit is contained in:
Oskar Weigl
2018-02-13 19:43:13 -08:00
2 changed files with 12 additions and 7 deletions
+5
View File
@@ -1,3 +1,8 @@
## [0.3.4] - 2018-02-13
### Fixed
* Broken way to check for python 2. Python 2 not supported yet.
## [0.3.3] - 2018-02-12
### Added
+7 -7
View File
@@ -6,14 +6,14 @@ import sys
import abc
if sys.version_info >= (3, 4):
ABC = abc.ABC
else:
ABC = abc.ABCMeta('ABC', (), {})
# if sys.version_info >= (3, 4):
ABC = abc.ABC
# else:
# ABC = abc.ABCMeta('ABC', (), {})
if sys.version_info <= (3, 3):
from monotonic import monotonic
time.monotonic = monotonic
# if sys.version_info <= (3, 3):
# from monotonic import monotonic
# time.monotonic = monotonic
SYNC_BYTE = 0xAA
CRC8_INIT = 0x42