File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,11 @@ class Project:
55
55
56
56
def __init__ (
57
57
self ,
58
- appname = "data" ,
59
- appauthor = "earth-analytics" ,
58
+ appname = "earth-analytics" ,
60
59
project_dirname = "earthpy-downloads" ,
61
60
env_var = "EARTHPY_DATA_HOME"
62
61
):
63
62
self .appname = appname
64
- self .appauthor = appauthor
65
63
self .project_dirname = project_dirname
66
64
self .env_var = env_var
67
65
@@ -98,15 +96,15 @@ def _resolve_data_home(self) -> Path:
98
96
99
97
# Look for global config file
100
98
config_dir = Path (
101
- user_config_dir (self .appname , self . appauthor )
99
+ user_config_dir (self .appname )
102
100
).expanduser ()
103
101
global_config = self ._find_config_file (config_dir )
104
102
if global_config :
105
103
return global_config
106
104
107
105
# Fallback to platformdirs default
108
106
return Path (
109
- user_data_dir (self .appname , self . appauthor )
107
+ user_data_dir (self .appname )
110
108
).expanduser ().resolve ()
111
109
112
110
def _find_config_file (self , directory : Path ) -> Path | None :
You can’t perform that action at this time.
0 commit comments