Skip to content

Commit

Permalink
remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
reedlabotz committed Apr 25, 2012
1 parent 609151a commit e571a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/app.py
Expand Up @@ -50,8 +50,8 @@ def colors_day():
delta = timedelta(days=1)
colors = Color.query.filter("timestamp>=:time").params(time=(datetime.now()-delta)).order_by(desc(Color.timestamp))
data = json.dumps([i.serialize for i in colors])
except Exception as inst:
return "error: %s" % inst
except:
return "error"
return "%s(%s);"%(callback,data)

@app.route('/color/<color>')
Expand Down

0 comments on commit e571a6d

Please sign in to comment.