misc/plugin/tlink.rb in tdiary-4.0.4 vs misc/plugin/tlink.rb in tdiary-4.0.5

- old
+ new

@@ -73,10 +73,10 @@ def tlink_initialize dir = @cache_path + "/tlink" @tlink_path = dir + "/tlink.dat" Dir.mkdir(dir, 0700) unless FileTest.exist?(dir) - db = PStore.new(@tlink_path).transaction do |db| + PStore.new(@tlink_path).transaction do |db| if (db.root?('tlinkdata')) then @tlink_dic = db["tlinkdata"] else @tlink_dic = Hash.new end