Rename QmlBridge to QMLBridge
This commit is contained in:
parent
ab46ac15e7
commit
cfcc190473
|
@ -1,4 +1,4 @@
|
||||||
"""Install `uvloop` if possible and provide a `QmlBridge`."""
|
"""Install `uvloop` if possible and provide a `QMLBridge`."""
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import logging as log
|
import logging as log
|
||||||
|
@ -20,7 +20,7 @@ else:
|
||||||
uvloop.install()
|
uvloop.install()
|
||||||
|
|
||||||
|
|
||||||
class QmlBridge:
|
class QMLBridge:
|
||||||
"""Setup asyncio and provide synchronous methods to call coroutines.
|
"""Setup asyncio and provide synchronous methods to call coroutines.
|
||||||
|
|
||||||
A thread is created to run the asyncio loop in, to ensure all calls from
|
A thread is created to run the asyncio loop in, to ensure all calls from
|
||||||
|
@ -110,4 +110,4 @@ class QmlBridge:
|
||||||
# Make CTRL-C work again
|
# Make CTRL-C work again
|
||||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||||
|
|
||||||
BRIDGE = QmlBridge()
|
BRIDGE = QMLBridge()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user