delicious-cli 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/delicious-cli.rb +6 -1
  2. metadata +1 -1
data/lib/delicious-cli.rb CHANGED
@@ -81,7 +81,12 @@ def main
81
81
  # In it!
82
82
 
83
83
  Database.init!
84
- Settings.load!
84
+ begin
85
+ Settings.load!
86
+ rescue Errno::ENOENT
87
+ config
88
+ retry
89
+ end
85
90
 
86
91
  Delicious.basic_auth(Settings["username"], Settings["password"])
87
92
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delicious-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - epitron