Skip to content

Commit

Permalink
UI Events can only be called once
Browse files Browse the repository at this point in the history
  • Loading branch information
arne182 authored Mar 9, 2019
1 parent 27c5baf commit d6cd4ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions selfdrive/loggerd/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import traceback
import threading
import subprocess
from selfdrive.car.modules.UIEV_module import UIEvents

from collections import Counter
from selfdrive.swaglog import cloudlog
Expand Down Expand Up @@ -96,7 +95,6 @@ def __init__(self, dongle_id, access_token, root):
self.dongle_id = dongle_id
self.access_token = access_token
self.root = root
self.UE = UIEvents(self)
self.upload_thread = None

self.last_resp = None
Expand Down Expand Up @@ -254,7 +252,6 @@ def upload(self, key, fn):
try:
os.unlink(fn) # delete the file
except OSError:
self.UE.custom_alert_message(2,"Delete Error. Contact Arne Immediately",200,3)
pass

success = True
Expand Down

0 comments on commit d6cd4ec

Please sign in to comment.