Skip to content

Commit fe15055

Browse files
authored
fix course creation in configure_instance (#2856)
1 parent d45e3a3 commit fe15055

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/management/commands/configure_instance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def handle(self, *args, **kwargs): # noqa: ARG002
210210
"program-v1:MITx+DEDP",
211211
"Data, Economics and Development Policy",
212212
live=True,
213-
depts="Economics",
213+
depts=["Economics"],
214214
create_depts=True,
215215
)
216216

@@ -240,7 +240,7 @@ def handle(self, *args, **kwargs): # noqa: ARG002
240240
create_run="Demo_Course",
241241
run_url=f"http://{edx_host}/courses/course-v1:edX+DemoX+Demo_Course/",
242242
program="program-v1:MITx+DEDP",
243-
depts="Science",
243+
depts=["Science"],
244244
create_depts=True,
245245
)
246246

@@ -252,7 +252,7 @@ def handle(self, *args, **kwargs): # noqa: ARG002
252252
live=True,
253253
create_run="course",
254254
run_url=f"http://{edx_host}/courses/course-v1:edX+E2E-101+course/",
255-
depts="Math",
255+
depts=["Math"],
256256
create_depts=True,
257257
)
258258

0 commit comments

Comments
 (0)