Make online detection a bit smarter (bug 1730)
commit72c028dc259084d346e4ce30d4cbe4b4c3d79de2
authorThomas Perl <m@thp.io>
Tue, 29 Jan 2013 17:26:07 +0000 (29 18:26 +0100)
committerThomas Perl <m@thp.io>
Tue, 29 Jan 2013 17:26:07 +0000 (29 18:26 +0100)
tree1ffacf2378bde427ae830f1f8954fa8f6ec5c99d
parent85ab38a7e70a9e656fa1c665d5d222a7b88d4872
Make online detection a bit smarter (bug 1730)

If we don't have "ifconfig" and "ip" assume we're online
(because we can't determine that we're offline), and if
detecting the network connection fails for some reason,
also assume that we're online. This avoid bogus "you're
offline" messages while still giving good feedback to
users who try to check for new episodes while offline.
src/gpodder/util.py