Read basecode from config

This commit is contained in:
Tim Schubert 2018-05-17 15:55:32 +02:00
parent a9438a8eaf
commit 06e0dc42de

View file

@ -241,7 +241,7 @@ def plagiates(gl, conf, args):
os.chdir('..') os.chdir('..')
subprocess.run( 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): def parseconf(conf):