From f8f374569dd823df7863b6e045618b4cfd684a31 Mon Sep 17 00:00:00 2001 From: Marcel Nijenhof Date: Mon, 13 Sep 2021 18:02:07 +0200 Subject: [PATCH] Fix issue 12: lmwsip.run geeft stack trace. - LmwSip object aangemaakt om tijd te bepalen. - Nog geen test code geschreven. Vergt uitzoeken hoe we door argparse heen kunnen testen. --- lmwsip/__init__.py | 2 +- lmwsip/run.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lmwsip/__init__.py b/lmwsip/__init__.py index 0fd019d..9b44c9d 100644 --- a/lmwsip/__init__.py +++ b/lmwsip/__init__.py @@ -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) diff --git a/lmwsip/run.py b/lmwsip/run.py index c608d0d..57f77c0 100755 --- a/lmwsip/run.py +++ b/lmwsip/run.py @@ -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") diff --git a/setup.py b/setup.py index 18a1785..685b732 100644 --- a/setup.py +++ b/setup.py @@ -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",