Skip to content

Conversation

@aryankumawat
Copy link

  • Fix division error in logo.py (get_terminal_width function)
  • Consolidate duplicate get_user_documents_path() functions
  • Replace bare except clauses with proper exception handling
  • Replace insecure os.system() calls with subprocess.run()
  • Remove unused variables and fix type consistency
  • Add missing subprocess imports to all affected files

These changes improve security, maintainability, and follow Python best practices.

- Fix division error in logo.py (get_terminal_width function)
- Consolidate duplicate get_user_documents_path() functions
- Replace bare except clauses with proper exception handling
- Replace insecure os.system() calls with subprocess.run()
- Remove unused variables and fix type consistency
- Add missing subprocess imports to all affected files

These changes improve security, maintainability, and follow Python best practices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant