change windows log file location

This commit is contained in:
Job Evers-Meltzer 2016-10-30 10:46:58 -05:00
parent 0893858385
commit 359cb83fab

View file

@ -248,10 +248,7 @@ class Config(DefaultSettings):
def get_data_dir(): def get_data_dir():
if sys.platform != "darwin": data_dir = default_data_dir
data_dir = os.path.join(os.path.expanduser("~"), ".lbrynet")
else:
data_dir = user_data_dir("LBRY")
if not os.path.isdir(data_dir): if not os.path.isdir(data_dir):
os.mkdir(data_dir) os.mkdir(data_dir)
return data_dir return data_dir