Remove redundant if statement that didn't get reverted

This commit is contained in:
Roy Nieterau 2022-02-21 15:56:58 +01:00
parent 065c6a092f
commit c03f6ec0b1

View file

@ -39,6 +39,5 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
self.log.info("Current context does not have any workfile yet.")
return
if last_workfile:
# Add path to workfile to arguments
self.launch_context.launch_args.append(last_workfile)
# Add path to workfile to arguments
self.launch_context.launch_args.append(last_workfile)