summaryrefslogtreecommitdiffstats
path: root/storage/storageBase.py
blob: 064c8a3390539b142da89b1b45ad38868c1c5b41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- 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