From 06e0dc42de2d1f7f36362bf3452cf52f92a7c23a Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Thu, 17 May 2018 15:55:32 +0200 Subject: [PATCH] Read basecode from config --- abgabesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abgabesystem.py b/abgabesystem.py index a7a11bf..35cd919 100644 --- a/abgabesystem.py +++ b/abgabesystem.py @@ -241,7 +241,7 @@ def plagiates(gl, conf, args): os.chdir('..') subprocess.run( - ['java', '-jar', '/app/jplag.jar', '-s', 'repos', '-p', 'java', '-r', 'results', '-bc', '$BASECODE', '-l', 'java17']) + ['java', '-jar', '/app/jplag.jar', '-s', 'repos', '-p', 'java', '-r', 'results', '-bc', conf['course'].base, '-l', 'java17']) def parseconf(conf):