blob: b367263a44ff950affc2e273d882402f7cefcb4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import os
def device_error():
print(
"""
The device you are running on is not currently compatible.
Please use a suitable device. The current suitable
devices are:
- Raspberry Pi 4
"""
)
os._exit(1)
quit()
def argument_error(data, datatype):
print(
"""
Invalid data type {} for {}
""".format(
data, datatype
)
)
os._exit(1)
quit()
|