in case we bring back diag
This commit is contained in:
parent
544855d097
commit
c27b5661d5
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ class DiagnosticsScreen(Screen):
|
||||||
status = self.query_one("#copy-status", Static)
|
status = self.query_one("#copy-status", Static)
|
||||||
|
|
||||||
# Create logs directory if it doesn't exist
|
# Create logs directory if it doesn't exist
|
||||||
logs_dir = Path("logs")
|
logs_dir = Path.home() / ".openrag" / "logs"
|
||||||
logs_dir.mkdir(exist_ok=True)
|
logs_dir.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
# Create a timestamped filename
|
# Create a timestamped filename
|
||||||
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue