httpie-cli/httpie/config.py
2012-08-18 04:36:58 +02:00

9 lines
199 B
Python

import os
from requests.compat import is_windows
__author__ = 'jakub'
CONFIG_DIR = (os.path.expanduser('~/.httpie') if not is_windows else
os.path.expandvars(r'%APPDATA%\\httpie'))