Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1391 from MRU-COMP1701-dev/bug_fix
Browse files Browse the repository at this point in the history
Checking for DBURL key before deleting
  • Loading branch information
bnmnetp authored Mar 17, 2023
2 parents ec49e57 + 93439dd commit fe7a9c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runestone/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ def rs2ptx(course, sourcedir, outdir):
"""
os.chdir(findProjectRoot())
sys.path.insert(0, os.getcwd())
del os.environ["DBURL"]
if "DBURL" in os.environ:
del os.environ["DBURL"]
try:
import pavement
except Exception as e:
Expand Down

0 comments on commit fe7a9c1

Please sign in to comment.