~nikolay-blohin/histwi/0.5

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os

USER_HOME_DIR = os.path.expanduser('~')
WORK_DIR = os.path.join(USER_HOME_DIR, '.histwi')
if not os.path.exists(WORK_DIR):
    os.mkdir(WORK_DIR)
    os.mkdir(os.path.join(WORK_DIR, 'avatars'))

DB_file = os.path.join(WORK_DIR, 'tt2.db')
CONFIG_file = os.path.join(WORK_DIR, 'config')
AVATARS_dir = os.path.join(WORK_DIR, 'avatars')

ABS_Path = os.path.realpath(os.path.dirname(__file__))
IMAGES_dir = os.path.join(ABS_Path, 'images')

CONSUMER_KEY = '4ggYFKU9DtHUXVKqsYnv5Q'
CONSUMER_SECRET = '9NUwAVwagdukztu9tpCpn8k1KOSPZIXKzpBfXG5B9TU'