Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Fix a small Python 3 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dagwieers committed Jan 17, 2019
1 parent 5c268fc commit 6f5db0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dstat_ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
self.type = 's'
self.width = len(time.strftime(self.timefmt, time.localtime()))
self.scale = 0
self.epoch = 2208988800L
self.epoch = 2208988800
# socket.setdefaulttimeout(0.25)
self.socket = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
self.socket.settimeout(0.25)
Expand Down

0 comments on commit 6f5db0a

Please sign in to comment.