Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardosgeral committed Jan 23, 2019
1 parent 489dc98 commit 393de5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,14 +328,15 @@ def read_display_write(e_rdw): # read and display data in page "record" and writ
sleep(float(inp['interval'])-delay)

# disconnect from database
test_end() # morse code sounds to alert for final test


cur.close()
con.close()

end_rdw.set()
e_rdw.clear()

test_end() # morse code sounds to alert for final test

nxlib.nx_setcmd_1par(ser, 'page', 'credits')
ip = get_ip_address()
nxlib.nx_setValue(ser, nxApp.ID_status[0], nxApp.ID_status[1], 1) # green flag
Expand Down

0 comments on commit 393de5c

Please sign in to comment.