abs-path instead relative, cleanup code
This commit is contained in:
2
zoom.py
2
zoom.py
@@ -33,7 +33,7 @@ import backlight, illumination, camera
|
||||
import epics
|
||||
from app_config import AppCfg #settings
|
||||
|
||||
Ui_Zoom, QWidget = loadUiType("zoom.ui")
|
||||
Ui_Zoom, QWidget = loadUiType(os.path.join(os.path.dirname(__file__),"zoom.ui"))
|
||||
MIN_ZOOM = 1
|
||||
MAX_ZOOM = 1000
|
||||
SPINNER_SINGLE_STEP = 50
|
||||
|
||||
Reference in New Issue
Block a user