about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-28 03:58:00 +0100
committerhut <hut@lavabit.com>2009-12-28 03:58:00 +0100
commit1a8d64f1cc272cc8109f0c1490366026b411669c (patch)
tree2eed861776df853eaaca2e68a93ab8e8cde8e752
parent06aefcf5068e733f22251894306c2818860bf255 (diff)
downloadranger-1a8d64f1cc272cc8109f0c1490366026b411669c.tar.gz
fixed pager, it was thinking lists are streams
-rw-r--r--ranger/gui/widgets/pager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index 6a147766..ffcd06c5 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -98,7 +98,7 @@ class Pager(Widget):
 			self.source.close()
 
 		if hasattr(source, '__getitem__'):
-			self.source_is_stream = True
+			self.source_is_stream = False
 			self.lines = source
 		elif hasattr(source, 'readline'):
 			self.source_is_stream = True