aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/leapsec.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-08 03:30:57 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-08 03:30:57 +0100
commit45eb36168a647690b8b5f5eef8bc0e4c5c609384 (patch)
tree86da235b4c13485bb0c7718ebd11d4583f2ac691 /src/plugins/leapsec.py
parentupdate todo: ping monitor (diff)
downloadxpybar-45eb36168a647690b8b5f5eef8bc0e4c5c609384.tar.gz
xpybar-45eb36168a647690b8b5f5eef8bc0e4c5c609384.tar.bz2
xpybar-45eb36168a647690b8b5f5eef8bc0e4c5c609384.tar.xz
use curl instead of wget
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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')