Commit d0effe69 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix "promise/plugin: Implement check_file_state promise plugin"

If there is no url parameter the promise fails, so simply switch to empty.
parent 983b810f
Pipeline #17429 failed with stage
in 0 seconds
......@@ -19,7 +19,7 @@ class RunPromise(GenericPromise):
filename = self.getConfig('filename')
state = self.getConfig('state')
url = self.getConfig('url').strip()
url = (self.getConfig('url') or '').strip()
try:
with open(filename) as f:
......
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