Skip to content

Commit

Permalink
Corrected log files extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
josefe17 committed Oct 18, 2023
1 parent 6e35206 commit 07fef72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elm.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ def __init__(self, portName, rate, adapter_type="STD", maxspeed="No"):
os.mkdir("./logs")

if len(options.log) > 0:
self.lf = open("./logs/elm_" + options.log, "at")
self.vf = open("./logs/ecu_" + options.log, "at")
self.lf = open("./logs/elm_" + options.log + ".txt", "at")
self.vf = open("./logs/ecu_" + options.log + ".txt", "at")

self.lastCMDtime = 0
self.ATCFC0 = options.opt_cfc0
Expand Down

0 comments on commit 07fef72

Please sign in to comment.