Skip to content

Commit

Permalink
Fixed @@Series hash default value
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricFinance committed May 21, 2011
1 parent 5eeeb7a commit 91d55ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvrenamer.rb
Expand Up @@ -453,7 +453,7 @@ def initialize(info)
)

@@config = {}
@@series = Hash.new(Hash.new)
@@series = Hash.new { |hash,key| hash[:hey] = {} }

if !ENV["HOME"].nil?
@@config_dir = "#{ENV["HOME"]}/.ruby-tvscripts"
Expand Down

0 comments on commit 91d55ba

Please sign in to comment.