Skip to content

Commit c9bfe75

Browse files
committed
- small fix in path handling, removed final slash
1 parent bc490b5 commit c9bfe75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class DataProcessor:
132132
return False
133133

134134
def get_latest_analyze_file(self):
135-
list_of_files = glob.glob(f'{self.analyze_base_path}*.analyze')
135+
list_of_files = glob.glob(f'{self.analyze_base_path}/*.analyze')
136136
latest_file = max(list_of_files, key=os.path.getctime)
137137
return latest_file
138138

@@ -153,7 +153,7 @@ class DataProcessor:
153153
'humidity': []
154154
}
155155
self._dt_start_time = datetime.now()
156-
self.analyze_base_path = '/home/astroberry/.local/share/kstars/analyze/'
156+
self.analyze_base_path = '/home/astroberry/.local/share/kstars/analyze'
157157
self.logger = print
158158

159159

0 commit comments

Comments
 (0)