Skip to content

Commit

Permalink
Issue #3: Bugfix and tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Aug 4, 2018
1 parent 6249da0 commit 8e84f0c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions keep
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ if os.path.isfile(config_file):
with open(config_file, 'r') as fh:
config = yaml.load(fh, Loader=yaml.Loader)
else:
config['user'] = input('Username: ')
config = {
'username': input('Username: '),
'views': {
'default': {
'type': 'grid'
},
},
}
with open(config_file, 'w') as fh:
yaml.dump(config, fh, default_flow_style=False)

die

keep = gkeepapi.Keep()

logged_in = args.offline
Expand Down

0 comments on commit 8e84f0c

Please sign in to comment.