Referenced before assignment

This commit is contained in:
Tim Schubert 2018-09-20 16:47:33 +02:00
parent 287c4689ad
commit 345b99dc10

View file

@ -111,6 +111,7 @@ def setup_projects(gl, course, deploy_key):
if solutions is None:
raise InvalidCourse("No solutions subgroup")
reference_project = None
reference_projects = solutions.projects.list(search='solutions')
for project in reference_projects:
if project.name == 'solutions':