aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/leapsec.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/leapsec.py')
-rw-r--r--src/plugins/leapsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/leapsec.py b/src/plugins/leapsec.py
index f04ad8d..ec8cfa1 100644
--- a/src/plugins/leapsec.py
+++ b/src/plugins/leapsec.py
@@ -49,7 +49,7 @@ class LeapSeconds:
Constructor
'''
url = 'http://maia.usno.navy.mil/ser7/leapsec.dat'
- announcements = spawn_read('wget', url, '-O', '-')
+ announcements = spawn_read('curl', url)
while ' ' in announcements:
announcements = announcements.replace(' ', ' ')
announcements = announcements.replace('= ', '=').replace('=JD ', '=JD')