added a lot of documentation and Enums for most function parameters

This commit is contained in:
2023-10-26 11:51:07 +02:00
parent 2d0a5c2974
commit b91cc55341
2 changed files with 503 additions and 114 deletions

View File

@@ -13,15 +13,6 @@ pw = "123mzsmp"
def print_tn(tn_response):
"""
Prints the given TN response, decoding it if necessary.
Args:
tn_response (bytes or str): The TN response to print.
Returns:
None
"""
if isinstance(tn_response, bytes):
print(tn_response.decode("ascii").rstrip())
else: