httpie-cli/httpie/config.py

9 lines
199 B
Python
Raw Normal View History

import os
2012-08-18 04:36:58 +02:00
from requests.compat import is_windows
__author__ = 'jakub'
2012-08-18 04:36:58 +02:00
CONFIG_DIR = (os.path.expanduser('~/.httpie') if not is_windows else
os.path.expandvars(r'%APPDATA%\\httpie'))