PEP 8 (I'm bored): core/io
This commit is contained in:
parent
2bba406485
commit
8db7b1d160
@ -51,7 +51,9 @@ class StandaloneIO(IOHandler):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
n = -1
|
n = -1
|
||||||
proto = [{"version":1,"click_events":True}, "[", "[]", ",[]",]
|
proto = [
|
||||||
|
{"version": 1, "click_events": True}, "[", "[]", ",[]",
|
||||||
|
]
|
||||||
|
|
||||||
def __init__(self, click_events, interval=1):
|
def __init__(self, click_events, interval=1):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
@ -59,7 +61,6 @@ class StandaloneIO(IOHandler):
|
|||||||
self.proto[0]['click_events'] = click_events
|
self.proto[0]['click_events'] = click_events
|
||||||
self.proto[0] = json.dumps(self.proto[0])
|
self.proto[0] = json.dumps(self.proto[0])
|
||||||
|
|
||||||
|
|
||||||
def read(self):
|
def read(self):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user