Kaydet (Commit) 8c488c16 authored tarafından Onur Küçük's avatar Onur Küçük

kozmetik

üst bc03b3b7
...@@ -340,7 +340,7 @@ Section "Monitor" ...@@ -340,7 +340,7 @@ Section "Monitor"
HorizSync %(HSYNC)s HorizSync %(HSYNC)s
VertRefresh %(VREF)s VertRefresh %(VREF)s
%(MODELINES)s %(MODELINES)s
EndSection EndSection
""" """
...@@ -414,7 +414,7 @@ def queryDDC(): ...@@ -414,7 +414,7 @@ def queryDDC():
mon.vert_min = atoi(line) mon.vert_min = atoi(line)
mon.vert_max = atoi(line[line.find("-") + 1:]) mon.vert_max = atoi(line[line.find("-") + 1:])
if line[:8] == "ModeLine": if line[:8] == "ModeLine":
mon.modes.append(line) mon.modes.append(" " +line)
for m in mon.modes: for m in mon.modes:
mon.res = m[m.find("ModeLine"):].split()[1] + " " + mon.res mon.res = m[m.find("ModeLine"):].split()[1] + " " + mon.res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment