Skip to content

Commit

Permalink
Merge pull request commaai#12 from arne182/release2
Browse files Browse the repository at this point in the history
Merge
  • Loading branch information
sshane authored Mar 16, 2019
2 parents 2132fcd + f474e5c commit 75a64cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions selfdrive/car/gm/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ def update(self, c):
self.CS.follow_level -= 1
if self.CS.follow_level < 1:
self.CS.follow_level = 3
self.kegman.conf['lastTrMode'] = str(self.CS.follow_level) # write last distance bar setting to file
self.kegman.write_config(self.kegman.conf)
kegman.conf['lastTrMode'] = str(self.CS.follow_level) # write last distance bar setting to file
kegman.write_config(kegman.conf)
ret.gasbuttonstatus = self.CS.cstm_btns.get_button_status("gas")
events = []
if not self.CS.can_valid:
Expand Down
5 changes: 4 additions & 1 deletion selfdrive/loggerd/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ def gen_upload_files(self):
return
for logname in listdir_by_creation_date(self.root):
path = os.path.join(self.root, logname)
names = os.listdir(path)
try:
names = os.listdir(path)
except OSError:
pass
if any(name.endswith(".lock") for name in names):
continue

Expand Down

0 comments on commit 75a64cc

Please sign in to comment.