Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
makermelissa committed Apr 15, 2024
1 parent 3f624ec commit 85686ee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion adafruit_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,14 @@ def get_raspbian_version(self):
"""Return a string containing the raspbian version"""
if self.get_os() != "Raspbian":
return None
raspbian_releases = ("bookworm", "bullseye", "buster", "stretch", "jessie", "wheezy")
raspbian_releases = (
"bookworm",
"bullseye",
"buster",
"stretch",
"jessie",
"wheezy",
)
if os.path.exists("/etc/os-release"):
with open("/etc/os-release", encoding="utf-8") as f:
release_file = f.read()
Expand Down

0 comments on commit 85686ee

Please sign in to comment.