Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Sep 18, 2023
1 parent 14ce4eb commit a6b1e8a
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 114 deletions.
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
directory: /
schedule:
interval: "weekly"
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
4 changes: 2 additions & 2 deletions admin_scripts/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def main(path: Path) -> None:

while next_page is not None:
async with session.get(
str(next_page), auth=aiohttp.BasicAuth(USERNAME, PASSWORD)
next_page.unicode_string(), auth=aiohttp.BasicAuth(USERNAME, PASSWORD)
) as r:
if not r.ok:
print("Error downloading levels")
Expand All @@ -93,7 +93,7 @@ async def main(path: Path) -> None:

hint_downloads = []
for level in page.results:
level_dir = path / f"{level.number:02d}"
level_dir = path / f"level-{level.number:02d}"
download_level(level_dir, level)
for hint in level.hints:
hint_download = download_hint(session, level_dir, level, hint)
Expand Down
54 changes: 27 additions & 27 deletions azure/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6b1e8a

Please sign in to comment.