Commit ae46ac54 authored by Moritz Huetten's avatar Moritz Huetten
Browse files

error message for wrong wildcard input added

parent c1c2bc03
Pipeline #69398 passed with stage
in 8 minutes and 25 seconds
......@@ -57,6 +57,8 @@ class MAGICEventSource(EventSource):
self.file_list = glob.glob(kwargs['input_url'])
if len(self.file_list) == 0:
raise ValueError("Unreadable or wrong wildcard file path given.")
# EventSource can not handle file wild cards as input_url
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment