From b927a4d08995a2ebe5f4e6604fffa4b5defa7f49 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 30 Nov 2013 19:36:15 +0100 Subject: [PATCH] Use "str.startswith" instead of ugly hack --- morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss.py b/morss.py index d1721ba..21ef1cd 100644 --- a/morss.py +++ b/morss.py @@ -500,7 +500,7 @@ def Gather(url, cachePath, options): cache.set('etag', con.headers.getheader('etag')) cache.set('lastmodified', con.headers.getheader('last-modified')) - if xml[:5] == '