From 359cb83fabfaba49b9a07e9e370873e59491a8ee Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Sun, 30 Oct 2016 10:46:58 -0500 Subject: [PATCH] change windows log file location --- lbrynet/conf.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lbrynet/conf.py b/lbrynet/conf.py index 9a640788c..411acbe0a 100644 --- a/lbrynet/conf.py +++ b/lbrynet/conf.py @@ -248,10 +248,7 @@ class Config(DefaultSettings): def get_data_dir(): - if sys.platform != "darwin": - data_dir = os.path.join(os.path.expanduser("~"), ".lbrynet") - else: - data_dir = user_data_dir("LBRY") + data_dir = default_data_dir if not os.path.isdir(data_dir): os.mkdir(data_dir) return data_dir