Fix indent
This commit is contained in:
parent
0b035ee6cc
commit
1e8aba9d83
|
@ -50,9 +50,9 @@ except:
|
||||||
|
|
||||||
class SleepyWindows:
|
class SleepyWindows:
|
||||||
def __init__(self, away_interval = 60, xa_interval = 120):
|
def __init__(self, away_interval = 60, xa_interval = 120):
|
||||||
self.away_interval = away_interval
|
self.away_interval = away_interval
|
||||||
self.xa_interval = xa_interval
|
self.xa_interval = xa_interval
|
||||||
self.state = STATE_AWAKE # assume we are awake
|
self.state = STATE_AWAKE # assume we are awake
|
||||||
|
|
||||||
def getIdleSec(self):
|
def getIdleSec(self):
|
||||||
GetLastInputInfo(ctypes.byref(lastInputInfo))
|
GetLastInputInfo(ctypes.byref(lastInputInfo))
|
||||||
|
|
Loading…
Reference in New Issue