X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/178ffe1377a571b7ce0a73186c03b5e296ac8922..ac4c2838ec59a3850cfcbcef2fe141f526aaa13b:/lib/lyricli/configuration.rb?ds=inline diff --git a/lib/lyricli/configuration.rb b/lib/lyricli/configuration.rb index 720070c..811526b 100644 --- a/lib/lyricli/configuration.rb +++ b/lib/lyricli/configuration.rb @@ -77,8 +77,7 @@ module Lyricli # Loads the default configuration from a JSON file def load_default_config # Load the default - path_root = File.expand_path(File.dirname(__FILE__)) - path = File.join(path_root, @defaults_path) + path = File.join(::Lyricli.root, "config", @defaults_path) if File.exists?(path) file = File.new(path, "r")