mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-03-01 00:41:45 -05:00
Returning an empty Hash if no config exists. Fixes #1005.
This commit is contained in:
parent
6864387784
commit
055d85e44e
@ -17,7 +17,7 @@ module Octopress
|
||||
begin
|
||||
configs = YAML.load(File.open(full_path))
|
||||
if configs.nil?
|
||||
configs
|
||||
Hash.new
|
||||
else
|
||||
configs.to_symbol_keys
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user