Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
N
Nuovo sito
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Gruppo Web
  • Nuovo sito
  • Issues
  • #25

Closed
Open
Opened Nov 06, 2023 by Mattia Rizzolo@mapreri
  • Report abuse
  • New issue
Report abuse New issue

replace path interpolation with os.path.join or pathlib

around the code it's full of stuff like CONFIG_FILE = "/../data/downloads.toml".

All of these instances should be changed to either strings mangled by os.path (in particular os.path.join()) or, possibly better pathlib's Path objects.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: ubuntu-it-web/www#25