summaryrefslogtreecommitdiff
path: root/Streams.py
diff options
context:
space:
mode:
Diffstat (limited to 'Streams.py')
-rw-r--r--Streams.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Streams.py b/Streams.py
index 608f8ee..a9a69cf 100644
--- a/Streams.py
+++ b/Streams.py
@@ -1,4 +1,5 @@
from OMPython import OMCSession
+from PyQt5.QtCore import *
import json
import sys
from collections import defaultdict
@@ -31,7 +32,7 @@ class MaterialStream():
self.no_of_outputs = 1
self.x = 2500-30
self.y = 2500-30
- self.pos = None
+ self.pos = QPointF(self.x, self.y)
MaterialStream.counter+=1
self.startDict = {}
self.eqnDict = {}