fix imports

This commit is contained in:
Nikolay Khabarov committed 2017-05-14 03:21:28 +03:00
1 parent e5b61527ca
commit fa10a1221c
8 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -38,11 +38,11 @@
# check which module to import
try:
from hal_raspberry.hal import *
from cnc.hal_raspberry.hal import *
except ImportError:
print("----- Hardware not detected, using virtual environment -----")
print("----- Use M111 command to enable more detailed debug -----")
from hal_virtual import *
from cnc.hal_virtual import *
# check if all methods that is needed is implemented
if 'init' not in locals():