lib/relaton/db.rb in relaton-1.12.3 vs lib/relaton/db.rb in relaton-1.12.4
- old
+ new
@@ -538,10 +538,12 @@
def global_bibliocache_name
"#{Dir.home}/.relaton/cache"
end
def local_bibliocache_name(cachename)
- cachename = "relaton" if cachename.nil? || cachename.empty?
+ return nil if cachename.nil?
+
+ cachename = "relaton" if cachename.empty?
"#{cachename}/cache"
end
end
end
end