From bf5cb1214361b006878fa4a9ee7975564afd26f8 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 13 Jun 2009 04:14:03 +0200 Subject: fixed Marshal.load of rc --- code/fm/fm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/fm') diff --git a/code/fm/fm.rb b/code/fm/fm.rb index 91b17f2d..1fb91080 100644 --- a/code/fm/fm.rb +++ b/code/fm/fm.rb @@ -42,7 +42,7 @@ module Fm if (File.exists?(@rangerrc)) content = File.read(@rangerrc) unless content.empty? - loaded = Marshal.load() rescue nil + loaded = Marshal.load(content) rescue nil if Hash === loaded @memory.update(loaded) end -- cgit 1.4.1-2-gfad0