mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-20 08:47:05 +00:00
fix imports
This commit is contained in:
1 parent
e5b61527ca
commit
fa10a1221c
8 files changed
+14
-14
No files matched your search
+2
-2
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user