We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fddbd82 commit c3364efCopy full SHA for c3364ef
1 file changed
skdaccess/astro/kepler/data_fetcher.py
@@ -74,9 +74,9 @@ def output(self):
74
data_location = data_util.getDataLocation('kepler')
75
76
if data_location == None:
77
- data_location = os.path.expanduser('~') + '/.skdaccess/kepler/'
+ data_location = os.path.join(os.path.expanduser('~'), '.skdaccess', 'kepler')
78
os.makedirs(data_location, exist_ok=True)
79
- data_location += 'kepler_data.h5'
+ data_location = os.path.join(data_location, 'kepler_data.h5')
80
data_util.setDataLocation('kepler', data_location)
81
82
store = pd.HDFStore(data_location)
0 commit comments