Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 2 additions and 6 deletions
Showing only changes of commit a08e6570ed - Show all commits

View File

@ -23,11 +23,7 @@ from money import Money
init_map = None
def handler(sig, frame):
cleanup()
def cleanup():
def cleanup(sig, frame):
if init_map:
try:
init_map["tx"].lc_es_checks.stop()
@ -38,7 +34,7 @@ def cleanup():
reactor.stop()
signal(SIGINT, handler) # Handle Ctrl-C and run the cleanup routine
signal(SIGINT, cleanup) # Handle Ctrl-C and run the cleanup routine
def convert(data):