From 19b1dd782d2573ec6f72b24ee8f7cbbdaa3d08cb Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 28 Jun 2023 21:43:18 -0500 Subject: [PATCH] fix: fstring patch --- containers/jug/setup_detectors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/jug/setup_detectors.py b/containers/jug/setup_detectors.py index a25ad9fba..c9389cc0d 100755 --- a/containers/jug/setup_detectors.py +++ b/containers/jug/setup_detectors.py @@ -100,7 +100,7 @@ if __name__ == '__main__': ## patches if cfg.get('patches'): for patch in cfg['patches']: - cmd = ['curl -L {patch} | patch -p1 -d/tmp/det'] + cmd = [f'curl -L {patch} | patch -p1 -d/tmp/det'] print(' '.join(cmd)) subprocess.check_call(' '.join(cmd), shell=True) ## build -- GitLab