Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mremolt/refinerycms-wordpress-import
Browse files Browse the repository at this point in the history
  • Loading branch information
mremolt committed Jul 27, 2011
2 parents 054e7f3 + ec1162f commit cdbb1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wordpress/dump.rb
Expand Up @@ -4,7 +4,7 @@ class Dump
attr_reader :doc

def initialize(file_name)
file_name = File.absolute_path(file_name)
file_name = File.expand_path(file_name)

raise "Given file '#{file_name}' no file or not readable." \
unless File.file?(file_name) && File.readable?(file_name)
Expand Down

0 comments on commit cdbb1d0

Please sign in to comment.