about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--code/extensions/basic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/extensions/basic.rb b/code/extensions/basic.rb
index 728af9c3..f54c3d75 100644
--- a/code/extensions/basic.rb
+++ b/code/extensions/basic.rb
@@ -62,7 +62,7 @@ class String
 	end
 
 	def filetype()
-		Fm::MIMETYPES[self] || 'unknown'
+		Directory::Entry::MIMETYPES[self] || 'unknown'
 	end
 
 	def sh