Skip to content

Commit 71e40d4

Browse files
committed
Updated version.
1 parent 29a21e4 commit 71e40d4

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="cuplcodec",
9-
version="2.0.2",
9+
version="2.0.3",
1010
author="Malcolm Mackay",
1111
author_email="malcolm@plotsensor.com",
1212
description="Package for creating and decoding URLs that contain temperature and humidity samples.",

wscodec/encoder/pyencoder/instrumented.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ def printint(myint):
6666

6767

6868

69-
70-
7169
class InstrumentedNDEF(InstrumentedBase):
7270
def __init__(self,
7371
baseurl='plotsensor.com',
@@ -156,7 +154,9 @@ def __init__(self,
156154
batteryadc=100,
157155
resetcause=0,
158156
usehmac=True,
159-
httpsdisable=False):
157+
httpsdisable=False,
158+
tagerror=False
159+
):
160160
super(InstrumentedSampleT, self).__init__(baseurl,
161161
serial,
162162
secretkey,
@@ -166,7 +166,7 @@ def __init__(self,
166166
resetsalltime=resetsalltime,
167167
usehmac=usehmac,
168168
httpsdisable=httpsdisable)
169-
self.ffimodule.lib.enc_init(resetcause, False, 0)
169+
self.ffimodule.lib.enc_init(resetcause, tagerror, 0)
170170

171171
def pushsamples(self, num):
172172
inlist = list()
@@ -188,7 +188,8 @@ def __init__(self,
188188
batteryadc=100,
189189
resetcause=0,
190190
usehmac=True,
191-
httpsdisable=False
191+
httpsdisable=False,
192+
tagerror=False
192193
):
193194
super(InstrumentedSampleTRH, self).__init__(baseurl,
194195
serial,
@@ -199,7 +200,7 @@ def __init__(self,
199200
resetsalltime=resetsalltime,
200201
usehmac=usehmac,
201202
httpsdisable=httpsdisable)
202-
self.ffimodule.lib.enc_init(resetcause, False, 0)
203+
self.ffimodule.lib.enc_init(resetcause, tagerror, 0)
203204

204205
def pushsamples(self, num):
205206
inlist = list()

0 commit comments

Comments
 (0)