diff options
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py index 41d591dab..637fc807a 100644 --- a/xf86config.py +++ b/xf86config.py @@ -855,8 +855,9 @@ class XF86Config: pass # kludge to handle i810 displays which require at least 16 Meg - if (self.vidCards[self.primary].has_key("DRIVER") and - (self.vidCards[self.primary]["DRIVER"] == "i810")): + if (self.vidCards + and self.vidCards[self.primary].has_key("DRIVER") + and (self.vidCards[self.primary]["DRIVER"] == "i810")): self.vidRam = "16384" |