about summary refs log tree commit diff
path: root/zachwalk.py
diff options
context:
space:
mode:
Diffstat (limited to 'zachwalk.py')
-rwxr-xr-xzachwalk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zachwalk.py b/zachwalk.py
index f2ecee1..fd8ed64 100755
--- a/zachwalk.py
+++ b/zachwalk.py
@@ -29,7 +29,8 @@ def getnewestdate(url):
     return gnd(fp)
 def gnd(fp):
     for line in fp:
-     line=line.decode('UTF-8')
+     if type(line) != str:
+       line=line.decode('UTF-8')
      if line.strip()[0:2] == '=>':
       try:
         desc =getdesc(line)