Skip to content

Commit

Permalink
fix: No such file or directory error
Browse files Browse the repository at this point in the history
listings_path, not listings_file
  • Loading branch information
eyeonus committed Apr 24, 2024
1 parent 5feb943 commit 3bf1167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradedangerous/plugins/eddblink_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def importListings(self, listings_file):
stationItems = dict(self.execute('SELECT station_id, UNIXEPOCH(modified) FROM StationItem').fetchall())

self.tdenv.DEBUG0("Processing entries...")
with listings_file.open("r", encoding="utf-8", errors="ignore") as fh:
with listings_path.open("r", encoding="utf-8", errors="ignore") as fh:
prog = pbar.Progress(total, 50)
listings = csv.DictReader(fh)

Expand Down

0 comments on commit 3bf1167

Please sign in to comment.