From 45f9ba3c66bf298c3dc66323ab9dfe25f2498991 Mon Sep 17 00:00:00 2001 From: enkore Date: Mon, 11 Feb 2013 13:06:12 +0100 Subject: [PATCH] Update statushandler.py --- statushandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statushandler.py b/statushandler.py index ef29007..560513f 100644 --- a/statushandler.py +++ b/statushandler.py @@ -4,7 +4,7 @@ import sys import json import urllib2 -class I3statusHandler: +class I3statusHandler(object): modules = [] def __init__(self): @@ -69,4 +69,4 @@ def has_internet_connection(): response=urllib2.urlopen('http://74.125.113.99',timeout=1) return True except urllib2.URLError as err: pass - return False \ No newline at end of file + return False