summaryrefslogtreecommitdiffstats
path: root/storage/storageBase.py
diff options
context:
space:
mode:
Diffstat (limited to 'storage/storageBase.py')
-rw-r--r--storage/storageBase.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/storageBase.py b/storage/storageBase.py
new file mode 100644
index 0000000..24abd2c
--- /dev/null
+++ b/storage/storageBase.py
@@ -0,0 +1,11 @@
+import os
+
+class storageBase:
+ def notifyChange(self, sender): abstract
+
+ def getConfigDir(self):
+ dir = os.path.expanduser('~/.todolist/blub')
+ if not os.path.exists(dir):
+ os.makedirs(dir)
+
+ return dir