Changeset 12d7e6f for src/python
- Timestamp:
- Aug 10, 2017, 8:00:39 PM (9 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 85f32d8
- Parents:
- 6fec060
- git-author:
- Joachim Langenbach <joachim.langenbach@…> (08/10/17 19:37:40)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (08/10/17 20:00:39)
- File:
-
- 1 edited
-
src/python/bin/gnuboat (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/python/bin/gnuboat
r6fec060 r12d7e6f 39 39 40 40 # default values for command line arguments 41 rrdfile = "/var/lib/gnuboat/ log-webservice.rrd"41 rrdfile = "/var/lib/gnuboat/gnuboat.rrd" 42 42 shutdownfile = "/var/spool/gnuboat/shutdown.request" 43 43 logdir = "/var/log/gnuboat" … … 118 118 def log(gpsFix, gpsTime, gpsStatus, latitude, latitudeDirection, longitude, 119 119 longitudeDirection, courseOverGround, speedOverGround, waterDepth, waterDepthValid): 120 global logdir 120 121 global nmeafile 121 122 … … 127 128 mode = 'A' 128 129 if nmeafile == None or nmeaFileDate != nmeaFileDateShould: 129 if nmea File:130 if nmeafile: 130 131 nmeafile.close() 131 132 try: … … 151 152 global displayperiod 152 153 global logdir 153 global nmea LogFile154 global nmeafile 154 155 155 156 try:
Note:
See TracChangeset
for help on using the changeset viewer.
