diff agl.py @ 12:b610ce4ec081

Cull dead code.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 11 Sep 2017 20:57:10 +0930
parents 9fac3371e9ad
children 988e511a5f29
line wrap: on
line diff
--- a/agl.py	Mon Sep 11 18:07:16 2017 +0930
+++ b/agl.py	Mon Sep 11 20:57:10 2017 +0930
@@ -17,17 +17,6 @@
 # ?endDate=2017-08-23&granularity=Minute&metrics=read&startDate=2017-08-23&units=W'
 logouturl = 'https://command.aglsolar.com.au/api/v2/Account/Logout'
 
-class UTC(datetime.tzinfo):
-    def utcoffset(self, dt):
-        return datetime.timedelta(0)
-
-    def dst(self, dt):
-        return datetime.timedelta(0)
-
-    def tzname(self, dt):
-        return "UTC"
-
-
 def valid_date(s):
     try:
         return datetime.datetime.strptime(s, "%Y-%m-%d")