diff options
Diffstat (limited to 'core/store.rb')
-rw-r--r-- | core/store.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/store.rb b/core/store.rb index 4d5e9a7..856acee 100644 --- a/core/store.rb +++ b/core/store.rb @@ -6,6 +6,7 @@ module Dinobot attr_accessor :data def initialize(file) + Dir.mkdir(File.dirname(file)) unless Dir.exist?(File.dirname(file)) @store = PStore.new(file, true) read |