Commit acf39ed4 authored by Federico Sismondi's avatar Federico Sismondi
Browse files

deleted timer.sleep() which delays 15.4 ACKs , hence more restransitions

parent 7615de5a
......@@ -51,6 +51,20 @@ logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger(__name__)
logging.getLogger('amqp').setLevel(logging.INFO)
finteorp_banner = \
"""
______ _____ _
| ____| |_ _| | |
| |__ ______| | _ __ | |_ ___ _ __ ___ _ __
| __|______| | | '_ \| __/ _ \ '__/ _ \| '_ \
| | _| |_| | | | || __/ | | (_) | |_) |
|_| |_____|_| |_|\__\___|_| \___/| .__/
| |
|_|
"""
class Agent(object):
"""
......@@ -69,6 +83,8 @@ For more information, visit: http://doc.f-interop.eu
def __init__(self):
print(finteorp_banner)
self.cli = click.Group(
add_help_option=Agent.header,
short_help=Agent.header
......
......@@ -13,31 +13,18 @@ __version__ = (0, 0, 1)
log = logging.getLogger(__name__)
finteorp_banner = \
"""
______ _____ _
| ____| |_ _| | |
| |__ ______| | _ __ | |_ ___ _ __ ___ _ __
| __|______| | | '_ \| __/ _ \ '__/ _ \| '_ \
| | _| |_| | | | || __/ | | (_) | |_) |
|_| |_____|_| |_|\__\___|_| \___/| .__/
| |
|_|
"""
arrow_down = """
___
| | _ _ _
| | | (_) | |
| | _ _ _ __ | |_ _ __ | | __
| | | | | | '_ \| | | '_ \| |/ /
| | | |_| | |_) | | | | | | <
| | \__,_| .__/|_|_|_| |_|_|\_\
| | | |
| | |_|
| |
| |
| |
| |
| |
| |
| |
| |
__! !__,
\ / \O
\ / \/|
......
......@@ -170,7 +170,6 @@ class SerialListener(object):
log.info("starting serial reader thread..")
try:
while not self.closed():
time.sleep(0.1)
numbytes = self.ser.inWaiting()
if numbytes > 0:
output = self.ser.read(numbytes) # read output
......
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