We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea08384 commit 377d063Copy full SHA for 377d063
ev3dev/auto.py
@@ -1,7 +1,14 @@
1
import platform
2
+import sys
3
+
4
+# -----------------------------------------------------------------------------
5
6
+if sys.version_info < (3,4):
7
+ raise SystemError('Must be using Python 3.4 or higher')
8
9
# -----------------------------------------------------------------------------
10
# Guess platform we are running on
11
12
def current_platform():
13
machine = platform.machine()
14
if machine == 'armv5tejl':
@@ -11,6 +18,8 @@ def current_platform():
18
else:
19
return 'unsupported'
20
21
22
23
if current_platform() == 'brickpi':
15
24
from .brickpi import *
16
25
0 commit comments