Fix: remove committed __pycache__ and monitor.log, drop unused python-dotenv #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The .gitignore rules are correct but some files were committed BEFORE .gitignore was added, so they are still tracked.
Tasks
1. Remove pycache from git tracking
2. Remove monitor.log from git tracking
3. Remove python-dotenv from requirements.txt
python-dotenvis listed as a dependency but is never imported or used anywhere in the code. Remove it fromrequirements.txt.4. (Optional) Add .env loading if desired
Either:
.envfile mention from README.md, ORfrom dotenv import load_dotenv; load_dotenv()tomonitor.pyand keep python-dotenvRecommendation: add the dotenv loading — it is useful for local dev.
Git
Use remote URL with token:
https://otis:<GITEA_TOKEN>@gitea.netcups.al3dev.link/monkey-island/flight-monitor.gitToken in
/root/.openclaw/workspace/.gitea-credentials.When Done
Run:
openclaw system event --text "Done: flight-monitor cleanup (issue #3)" --mode now