about summary refs log tree commit diff stats
path: root/code/entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/entry.rb')
-rw-r--r--code/entry.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/entry.rb b/code/entry.rb
index d85d58a4..9f0cb7b9 100644
--- a/code/entry.rb
+++ b/code/entry.rb
@@ -28,6 +28,10 @@ class Directory::Entry
 		end
 		@name, @ext = @basename.split_at_last_dot
 		@ext = @ext.downcase
+		if @ext == 'part'
+			@name, @ext = @name.split_at_last_dot
+			@ext = @ext.downcase
+		end
 		@size = 0
 		@exists = false
 		@rights = '--unread--'