Skip to content

Instantly share code, notes, and snippets.

@PARC6502
Created July 26, 2014 13:23
Show Gist options
  • Save PARC6502/6c95afe521e329174ed2 to your computer and use it in GitHub Desktop.
Save PARC6502/6c95afe521e329174ed2 to your computer and use it in GitHub Desktop.
Can't Save
from kivy.storage.dictstore import DictStore
from kivy.event import EventDispatcher
from kivy.properties import ListProperty
store = DictStore('test.dict')
class TestClass(EventDispatcher):
tasks = ListProperty([{'in_cats': [], 'deleted': False, 'type': 'task', 'id': 0, 'name': 'Task1'}, {'in_cats': [], 'deleted': False, 'type':'task', 'id': 1, 'name': 'Task2'}])
test_class = TestClass()
store.put('tasks', tasks=test_class.tasks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment