summaryrefslogtreecommitdiff
path: root/lib/oxidized/manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/manager.rb')
-rw-r--r--lib/oxidized/manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb
index 0edf9e7..8c53d64 100644
--- a/lib/oxidized/manager.rb
+++ b/lib/oxidized/manager.rb
@@ -37,6 +37,7 @@ module Oxidized
@model.merge! _model
end
def source= _source
+ return nil if @source.key? _source
_source = Manager.load Config::SourceDir, _source
return false if _source.empty?
@source.merge! _source