pyscard contains several unconditional except-statements, which catch no matter what exception. When calling sys.exit() from a CardObserver attatched to a CardMonitor it exits the observer-thread and raises a SystemExit-exception. This could normally be catched by the main thread, but I suppose that it vanishes somewhere at those unconditional except-statements.
If I am wrong, please show me how to exit the whole thread from an observer. Thank you in advance.
Log in to post a comment.