Use "sys.exit" instead of "exit" builtin

Signed-off-by: Héctor Molinero Fernández <hector@molinero.dev>
This commit is contained in:
Héctor Molinero Fernández
2020-01-14 22:23:01 +01:00
parent 52015014b4
commit 8b078383c2
3 changed files with 9 additions and 7 deletions

View File

@ -11,7 +11,7 @@ try:
from .gpio import GPIO
except:
print("unknown platform")
exit()
sys.exit()
CONFIG_IL0376F = {