Fix issue 12: lmwsip.run geeft stack trace.
All checks were successful
continuous-integration/drone/push Build is passing

- LmwSip object aangemaakt om tijd te bepalen.
 - Nog geen test code geschreven.
   Vergt uitzoeken hoe we door argparse heen kunnen testen.
This commit is contained in:
Marcel Nijenhof
2021-09-13 18:02:07 +02:00
parent 8d4a40389c
commit f8f374569d
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ from datetime import datetime, timedelta
from dateutil import tz
""" Version info changed by git hook """
__version__ = '0.1.8'
__version__ = '0.1.9'
class LmwSip:
"""Class to connect to the LMW Standard Interface prototcol (sip)

View File

@@ -33,7 +33,7 @@ def run(args):
pass
def main():
lastTime=LmwSip.lasttime(None, "H10")
lastTime=LmwSip().lasttime("H10")
parser = argparse.ArgumentParser(description="Run a sip file.")
parser.add_argument("-u", "--unencrypted", action="store_true",
help="Run a sip connection without ssl")

View File

@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="lmwsip", # Replace with your own username
version="0.1.8",
version="0.1.9",
author="Marcel Nijenhof",
author_email="pip@marceln.org",
description="Interface for the lmw sip protocol",