Browse Source

drop debug print, and flush the output as it might take a while to

fill the default buffer, and we'd lose data in case of a crash..
main
John-Mark Gurney 5 years ago
parent
commit
e6a48fa154
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/poll.py

+ 1
- 1
bin/poll.py View File

@@ -55,9 +55,9 @@ if __name__ == '__main__':
'timezone_utcTime', 'timezone_utcOffset' ]
print_data('z', *(tzinfo[x] for x in tzfields))

sys.stdout.flush()
s += interval
delay = s - e
print `delay`
if delay <= 0:
s = time.time()
continue


Loading…
Cancel
Save