WorkFeature/start_WF.FCMacro
Rentlau 71db89fcd9 - Try to fix issue with path of WorkFeature directory
- myDialog handling
- Circle and Ellipse Tab added
- Cutting tab added
2015-02-18 08:55:11 +01:00

19 lines
536 B
Plaintext

# -*- coding: utf-8 -*-
import sys
import os.path
try:
# try import
import WorkFeature
except:
# get the path of the current python script
m_current_path = os.path.realpath(__file__)
m_current_path = os.path.dirname(m_current_path)
# check if this path belongs to the PYTHONPATH variable and if not add it
if not sys.path.__contains__(str(m_current_path)):
sys.path.append(str(m_current_path))
# retry import now
import WorkFeature
WorkFeature.myDialog = WorkFeature.WorkFeatureTab()