diff options
Diffstat (limited to 'devbot')
-rw-r--r-- | devbot/plugins/ubuntu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devbot/plugins/ubuntu.py b/devbot/plugins/ubuntu.py index b56278e..71102cd 100644 --- a/devbot/plugins/ubuntu.py +++ b/devbot/plugins/ubuntu.py @@ -37,7 +37,7 @@ class DistroInfo(interfaces.DistroInfo): release = None self.valid = False - if os_info["ID"] != "ubuntu": + if os_info.get("ID", None) != "ubuntu": self.valid = False self.version = os_info.get("VERSION_ID", None) |