diff --git a/adafruit_shell.py b/adafruit_shell.py index 23c0f50..60312f6 100644 --- a/adafruit_shell.py +++ b/adafruit_shell.py @@ -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 = ("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()