Merge e995446cfc
into 00c33908a3
This commit is contained in:
commit
1e732da443
|
@ -78,7 +78,7 @@ def on_start_break(break_obj):
|
||||||
global session
|
global session
|
||||||
session['breaks'] += 1
|
session['breaks'] += 1
|
||||||
|
|
||||||
# Screen time has stoped.
|
# Screen time has stopped.
|
||||||
on_stop()
|
on_stop()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ def on_start_break(break_obj):
|
||||||
|
|
||||||
def on_exit():
|
def on_exit():
|
||||||
"""
|
"""
|
||||||
Uninitialize the registered notificaion.
|
Uninitialize the registered notification.
|
||||||
"""
|
"""
|
||||||
logging.debug('Stop Notification plugin')
|
logging.debug('Stop Notification plugin')
|
||||||
Notify.uninit()
|
Notify.uninit()
|
||||||
|
|
|
@ -28,7 +28,7 @@ from xmlrpc.client import ServerProxy
|
||||||
|
|
||||||
class RPCServer:
|
class RPCServer:
|
||||||
"""
|
"""
|
||||||
An aynchronous RPC server.
|
An asynchronous RPC server.
|
||||||
"""
|
"""
|
||||||
def __init__(self, port, context):
|
def __init__(self, port, context):
|
||||||
self.__running = False
|
self.__running = False
|
||||||
|
|
Loading…
Reference in New Issue