Skip to content

Commit

Permalink
Fix python version, clarify readme
Browse files Browse the repository at this point in the history
  • Loading branch information
blackary committed Sep 25, 2024
1 parent 6896467 commit 114183a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MKBSD comes in two variants! Node.js and Python.
4. Wait a little.
5. All wallpapers are now in a newly created `downloads` subfolder.

Alternatively, instead of steps 2 and 3, you can:
Alternatively, instead of steps 1-3, you can:
* Install uv (https://docs.astral.sh/uv/#getting-started)
* Run `uv run mkbsd.py`

Expand Down
4 changes: 2 additions & 2 deletions mkbsd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# /// script
# requires-python = ">=3.12"
# requires-python = ">=3.9"
# dependencies = [
# "aiohttp",
# ]
Expand Down Expand Up @@ -35,7 +35,7 @@ async def main():
raise Exception(f"⛔ Failed to fetch JSON file: {response.status}")
json_data = await response.json()
data = json_data.get('data')

if not data:
raise Exception('⛔ JSON does not have a "data" property at its root.')

Expand Down

0 comments on commit 114183a

Please sign in to comment.