11 from ugit
.model
import Model
13 class SettingsModel(Model
):
16 self
.create( bookmarks
= [] )
17 if not HAS_SIMPLEJSON
:
20 if os
.path
.exists(ugitrc
):
24 return os
.path
.join(user
.home
, '.ugitrc')
26 def save_all_settings(self
):
27 if not HAS_SIMPLEJSON
:
29 self
.save(self
.path())