[Fixed] Problems when no pcbnew installed
- New code interference with proper detection
This commit is contained in:
parent
27ea3f1d73
commit
983c91be1d
|
|
@ -11,7 +11,8 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# This is caught by __main__, ignore the error here
|
# This is caught by __main__, ignore the error here
|
||||||
class pcbnew(object):
|
class pcbnew(object):
|
||||||
pass
|
IU_PER_MM = 1
|
||||||
|
IU_PER_MILS = 1
|
||||||
from datetime import datetime, date
|
from datetime import datetime, date
|
||||||
from sys import exit
|
from sys import exit
|
||||||
from shutil import copy2
|
from shutil import copy2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue