Permalink
Browse files

fix issue with duplicated logic that will break on some files

  • Loading branch information...
1 parent 9dd63fd commit db52d51ed88aa8225773fcdcd170a1568b8acd61 @posativ committed Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 regenwolken/views.py
View
2 regenwolken/views.py
@@ -223,7 +223,7 @@ def items_view(short_id):
drop = Drop(obj, current_app.config)
if drop.item_type == 'image':
return render_template('image.html', drop=drop)
- elif drop.item_type == 'text' or drop.istext:
+ elif drop.item_type == 'text':
return render_template('text.html', drop=drop)
else:
return render_template('other.html', drop=drop)

0 comments on commit db52d51

Please sign in to comment.