From 2a9c18f85d26e577a91e284a69115fa6305c8b68 Mon Sep 17 00:00:00 2001
From: Arvind <arvindkhadri@gmail.com>
Date: Fri, 8 Feb 2013 10:58:41 +0530
Subject: [PATCH] Indentation fixes.

---
 fetch.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/fetch.py b/fetch.py
index 4f85510..afec4c4 100644
--- a/fetch.py
+++ b/fetch.py
@@ -27,9 +27,9 @@ def editor():
       f = open(filename, 'r')
     except:
       f = open('static/test.json', 'r')
-      buf = f.read()
-      f.close()
-      return render_template('editor.html', json = buf)
+    buf = f.read()
+    f.close()
+    return render_template('editor.html', json = buf)
 
 @app.route('/saveJSON', methods=['POST'])
 def saveJSON():
@@ -58,8 +58,8 @@ def listJSON():
   ls = glob.glob(path)
   def sanitize(i):
     return i.split('/')[-1]
-    ls = map(sanitize, ls)
-    return render_template('history.html', ls=ls)
+  ls = map(sanitize, ls)
+  return render_template('history.html', ls=ls)
 
 
 if __name__ == "__main__":
-- 
1.7.10.4