Skip to content

Commit 9bd7f6a

Browse files
authored
Merge pull request #23 from LostNulide/patch-1
Added new raspbian release(bookworm) to raspbian_releases
2 parents 9f66980 + 85686ee commit 9bd7f6a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

adafruit_shell.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,14 @@ def get_raspbian_version(self):
555555
"""Return a string containing the raspbian version"""
556556
if self.get_os() != "Raspbian":
557557
return None
558-
raspbian_releases = ("bullseye", "buster", "stretch", "jessie", "wheezy")
558+
raspbian_releases = (
559+
"bookworm",
560+
"bullseye",
561+
"buster",
562+
"stretch",
563+
"jessie",
564+
"wheezy",
565+
)
559566
if os.path.exists("/etc/os-release"):
560567
with open("/etc/os-release", encoding="utf-8") as f:
561568
release_file = f.read()

0 commit comments

Comments
 (0)