Skip to content
Snippets Groups Projects
Commit 2e29b821 authored by Danilo Ferreira de Lima's avatar Danilo Ferreira de Lima
Browse files

Using get instead of unsafe_get

parent 4db44ada
No related branches found
No related tags found
2 merge requests!59Interface CrystFEL with Karabo and allow automatic parameter tunning with rcrystfel,!53Train picker arbiter kernel
...@@ -259,7 +259,7 @@ class PickyBoi(PythonDevice): ...@@ -259,7 +259,7 @@ class PickyBoi(PythonDevice):
def input_handler(self, input_channel): def input_handler(self, input_channel):
all_metadata = input_channel.getMetaData() all_metadata = input_channel.getMetaData()
have_written_something = False have_written_something = False
source_re = self.unsafe_get("sourceFilterRegex") source_re = self.get("sourceFilterRegex")
if len(source_re) > 0: if len(source_re) > 0:
source_re = re.compile(source_re) source_re = re.compile(source_re)
else: else:
......
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