summaryrefslogtreecommitdiff
path: root/openEMS/python/openEMS/ports.py
diff options
context:
space:
mode:
Diffstat (limited to 'openEMS/python/openEMS/ports.py')
-rw-r--r--openEMS/python/openEMS/ports.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openEMS/python/openEMS/ports.py b/openEMS/python/openEMS/ports.py
index 1af1564..5b4fdc0 100644
--- a/openEMS/python/openEMS/ports.py
+++ b/openEMS/python/openEMS/ports.py
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+from __future__ import absolute_import
import os
import numpy as np
@@ -45,7 +46,7 @@ class UI_data:
self.ui_f_val.append(utilities.DFT_time2freq(tmp[:,0], tmp[:,1], freq, signal_type=signal_type))
# Port Base-Class
-class Port:
+class Port(object):
"""
The port base class.