diff options
author | hut <hut@lavabit.com> | 2009-06-13 04:14:03 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-13 04:14:03 +0200 |
commit | bf5cb1214361b006878fa4a9ee7975564afd26f8 (patch) | |
tree | fc58c50cb64bff5a4b57b9d30e9a44300bb85033 /code | |
parent | bd627dc4f2d009642de3ada13cbdc547490baf68 (diff) | |
download | ranger-bf5cb1214361b006878fa4a9ee7975564afd26f8.tar.gz |
fixed Marshal.load of rc
Diffstat (limited to 'code')
-rw-r--r-- | code/fm/fm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |