Skip to content

Commit faae37b

Browse files
committed
Changing the path in cgAdminFrontend and cgUserFrontend in Order to use python virtual environments
1 parent 1390af5 commit faae37b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codeGrader/scripts/cgAdminFrontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def main():
3131
Starting a new instance of the EvaluationService
3232
@return:
3333
"""
34-
os.chdir("/usr/local/lib/python3.11/dist-packages/codeGrader/frontend/admin")
34+
os.chdir("opt/CodeGrader_venv/lib/python3.11/site-packages/codeGrader/frontend/admin")
3535
admin_frontend()
3636

3737

codeGrader/scripts/cgUserFrontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def main():
3131
Starting a new instance of the EvaluationService
3232
@return:
3333
"""
34-
os.chdir("/usr/local/lib/python3.11/dist-packages/codeGrader/frontend/user")
34+
os.chdir("opt/CodeGrader_venv/lib/python3.11/site-packages/codeGrader/frontend/user")
3535
user_frontend()
3636

3737

0 commit comments

Comments
 (0)