mirror of
https://github.com/httpie/cli.git
synced 2025-01-07 23:01:53 +02:00
Use %APPDATA% for data on Windows.
This commit is contained in:
parent
149cbc1604
commit
9b586b953b
@ -1,6 +1,8 @@
|
||||
import os
|
||||
from requests.compat import is_windows
|
||||
|
||||
__author__ = 'jakub'
|
||||
|
||||
|
||||
CONFIG_DIR = os.path.expanduser('~/.httpie')
|
||||
CONFIG_DIR = (os.path.expanduser('~/.httpie') if not is_windows else
|
||||
os.path.expandvars(r'%APPDATA%\\httpie'))
|
||||
|
Loading…
Reference in New Issue
Block a user