mirror of
https://github.com/balkian/bitter.git
synced 2024-12-22 08:28:12 +00:00
14 lines
370 B
Python
14 lines
370 B
Python
'''
|
|
Common configuration for other modules.
|
|
It is not elegant, but it works with flask and the oauth decorators.
|
|
|
|
Using this module allows you to change the config before loading any other module.
|
|
E.g.:
|
|
|
|
import bitter.config as c
|
|
c.CREDENTIALS="/tmp/credentials"
|
|
from bitter.webserver import app
|
|
app.run()
|
|
'''
|
|
CREDENTIALS = '~/.bitter-credentials.json'
|