agude / SWITRS-to-SQLite

Python script for converting California's Statewide Integrated Traffic Records System (SWITRS) reports to SQLite.
https://alexgude.com/blog/switrs-to-sqlite/
Other
9 stars 3 forks source link

Prefer `os.path.join()` to custom solutions #1

Closed agude closed 7 years ago

agude commented 7 years ago

In some places in the code there are things like:

path = root + '/' + base

Instead, these should be:

path = is.path.join(root, base)