summaryrefslogblamecommitdiffstats
path: root/storage/storageBase.py
blob: 064c8a3390539b142da89b1b45ad38868c1c5b41 (plain) (tree)
1
2
3
4
5
6
7
8
9

                       





                                            
                                                



                                   
# -*- coding: utf-8 -*-

import os

class storageBase:
    def notifyChange(self, sender): abstract

    def getConfigDir(self):
        dir = os.path.expanduser('~/.todolist/')
        if not os.path.exists(dir):
            os.makedirs(dir)

        return dir