Skip to content
Snippets Groups Projects
Commit 4be53f91 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal/python/gstpipetools.py: pygobject work around

parent 10215d2b
No related branches found
No related tags found
1 merge request!449Pygobject workaround
......@@ -16,6 +16,7 @@ Gst.init(None)
from lal import LIGOTimeGPS
from gstlal import simplehandler
from gstlal import pipeio
LIVE_SEGMENT = (None, None)
Time = Union[int, float, LIGOTimeGPS]
......@@ -89,7 +90,7 @@ def make_element(type_name: str, name: str = None, **properties: dict) -> Gst.El
# Set element properties
for k, v in properties.items():
elem.set_property(k, v)
elem.set_property(k, pipeio.format_property(v))
return elem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment