summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-09 13:26:04 +0100
committerhut <hut@lavabit.com>2010-02-09 13:26:04 +0100
commitf4ff7c98fff7268cc7be8e7bebdd09f6e69b6e0b (patch)
tree8e5fe43219794150e048390618687b948a7db07c
parentdb1721dd9c6fdae2de44a4c8b39cc310a37cbdc0 (diff)
downloadranger-f4ff7c98fff7268cc7be8e7bebdd09f6e69b6e0b.tar.gz
browsercolumn: ignore .part extension in PREVIEW_BLACKLIST
-rw-r--r--ranger/gui/widgets/browsercolumn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 7ce3ae1f..5890c209 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -33,8 +33,8 @@ PREVIEW_BLACKLIST = re.compile(r"""
 			# containers:
 				| iso | rar | zip | 7z | tar | gz | bz2
 		)
-		# ignore dummy suffixes:
-			(\.bak|~)?
+		# ignore filetype-independent suffixes:
+			(\.part|\.bak|~)?
 		# ignore fully numerical file extensions:
 			(\.\d+)*?
 		$