rascunho

commit 58d796d3a66fd2923b1ed79de18c039e7023d3db

Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>

Fix typos

 core/blueprints/basic.py | 2 +-


diff --git a/core/blueprints/basic.py b/core/blueprints/basic.py
index e9302a3447f7ca39f872ae3f08c2eef690b28511..89d473f9d1b7416eb8523d3dc26b623c8d5ea47f 100644
--- a/core/blueprints/basic.py
+++ b/core/blueprints/basic.py
@@ -15,7 +15,7 @@         return create(request.form)
 
 @basic.route("/<sha>", methods = ['GET'])
 def show(sha):
-    doc = document.query.filter(document.sha == sha).one_or_none()
+    doc = Document.query.filter(Document.sha == sha).one_or_none()
 
     if not doc:
         abort(404)