Created
July 26, 2014 13:23
-
-
Save PARC6502/6c95afe521e329174ed2 to your computer and use it in GitHub Desktop.
Can't Save
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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