dynarex-blog 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +1 -1
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -13,7 +13,7 @@ class DynarexBlog
|
|
13
13
|
|
14
14
|
def initialize(file_path='./')
|
15
15
|
@file_path = file_path[/\/$/] ? file_path : file_path + '/'
|
16
|
-
if File.exists? (@file_path + 'index.xml') then open() else fresh_start() end
|
16
|
+
if File.exists? (@file_path + 'index.xml') then open(@file_path) else fresh_start() end
|
17
17
|
@current_lookup = 'entry_lookup.xml'
|
18
18
|
super()
|
19
19
|
end
|