|
|
@ -440,7 +440,7 @@ class fillVars(varsShare): |
|
|
|
matchSect = re.search(r'Section "Device".*?EndSection', |
|
|
|
open('/etc/X11/xorg.conf').read(),re.S) |
|
|
|
if matchSect: |
|
|
|
resDriver = re.search(r'Driver\s*"([^"]+)"', |
|
|
|
resDriver = re.search(r'^\S*Driver\s*"([^"]+)"', |
|
|
|
matchSect.group(0),re.S) |
|
|
|
if resDriver and resDriver.group(1) in list_avialable_drivers: |
|
|
|
return resDriver.group(1) |
|
|
|