fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update requirements
[redakcja.git]
/
apps
/
wiki
/
views.py
diff --git
a/apps/wiki/views.py
b/apps/wiki/views.py
index
da747cc
..
0fc52f3
100644
(file)
--- a/
apps/wiki/views.py
+++ b/
apps/wiki/views.py
@@
-136,7
+136,7
@@
def text(request, doc_id):
try:
revision = int(revision)
except (ValueError, TypeError):
try:
revision = int(revision)
except (ValueError, TypeError):
- revision = doc.revision
()
+ revision = doc.revision
if revision is not None:
text = doc.at_revision(revision).materialize()
if revision is not None:
text = doc.at_revision(revision).materialize()