diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-08 03:30:57 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-08 03:30:57 +0100 |
commit | 45eb36168a647690b8b5f5eef8bc0e4c5c609384 (patch) | |
tree | 86da235b4c13485bb0c7718ebd11d4583f2ac691 /src/plugins/leapsec.py | |
parent | update todo: ping monitor (diff) | |
download | xpybar-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 'src/plugins/leapsec.py')
-rw-r--r-- | src/plugins/leapsec.py | 2 |
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') |