Skip to content

Commit

Permalink
fix flake8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin committed Feb 11, 2025
1 parent e01ea62 commit 0c1bf0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pretext/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,10 +645,12 @@ def build(
"https://runestone.academy/cdn/runestone/latest/webpack_static_imports.xml",
timeout=5,
)
log.debug(f"Internet access test: {test_services.status_code}")
except requests.exceptions.RequestException as e:
log.warning(
"No internet access detected; turning off Runestone features. Your output might not work correctly until you rebuild with internet access."
)
log.debug(f"Error: {e}")
self.stringparams["debug.rs.dev"] = "yes"
# End temporary code

Expand Down

0 comments on commit 0c1bf0a

Please sign in to comment.