summaryrefslogtreecommitdiffstats
path: root/storage/storageBase.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-04-16 10:42:24 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2009-04-16 10:42:24 +0200
commit9e4e6b7727df521bd187ca209e2a0ebc10f4a382 (patch)
tree6598f7c232391db821456e55b12ef4b71c0e3a68 /storage/storageBase.py
parent188d0883ef4eda09da91cfa6e4cffd583dd999ac (diff)
downloadtodolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.tar.gz
todolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.tar.xz
todolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.zip
first trys
Diffstat (limited to '')
-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