diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-04-16 10:42:24 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-04-16 10:42:24 +0200 |
commit | 9e4e6b7727df521bd187ca209e2a0ebc10f4a382 (patch) | |
tree | 6598f7c232391db821456e55b12ef4b71c0e3a68 /storage/storageBase.py | |
parent | 188d0883ef4eda09da91cfa6e4cffd583dd999ac (diff) | |
download | todolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.tar.gz todolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.tar.xz todolist-9e4e6b7727df521bd187ca209e2a0ebc10f4a382.zip |
first trys
Diffstat (limited to 'storage/storageBase.py')
-rw-r--r-- | storage/storageBase.py | 11 |
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 |