Skip to content

Commit

Permalink
fixed deviation time
Browse files Browse the repository at this point in the history
  • Loading branch information
jirhiker committed Sep 14, 2018
1 parent b8c9802 commit 234431b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wellpy/database_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,9 @@ def apply_qc(self, pointid, limits, state=True):

with self._get_cursor() as cursor:
cmd = 'Update dbo.WaterLevelsContinuous_Pressure ' \
'Set QCed=%i ' \
'Set QCed=%d ' \
'Where DateMeasured>=%s and DateMeasured<=%s and PointID=%s'
args = (int(state), mi, ma, pointid)
print(cmd, args)
cursor.execute(cmd, args)

def insert_continuous_water_levels(self, pointid, rows, with_update=False):
Expand Down

0 comments on commit 234431b

Please sign in to comment.