Skip to content

Commit

Permalink
removes commended out code lines
Browse files Browse the repository at this point in the history
  • Loading branch information
transistorgrab authored Feb 25, 2019
1 parent 965c65b commit e983473
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pymodmon_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# display modbus slave data.
# requires: Python 3.7, pymodbus, docopt
#
# Date created: 2016-05-04
# Date created: 2019-02-25
# Author: André Schieleit

## help message to display by docopt (and parsed by docopt for command line arguments)
Expand Down Expand Up @@ -267,7 +267,6 @@ def writeLoggerDataFile(self):
## ensure UTF8 encoding while writing
## print out what data is contained and whats its format
for thisrow in data.datasets:
##! thisrow = [s.encode('utf-8') for s in thisrow]
logwriter.writerows([thisrow])

logfile.write('-'*50+'\n') ## write a separator
Expand Down Expand Up @@ -978,10 +977,3 @@ def closeWindow(self):
inout.stopCommunication()
print('single run')
exit()

## since we start a timer thread for periodic pulling of data we need no "while True:" loop
# for staying in the application
#from time import sleep
#while True:
# sleep(15)

0 comments on commit e983473

Please sign in to comment.