Skip to content
Permalink
Browse files

Fix unicode bug in DoUninstall reading

  • Loading branch information...
pd0wm committed Nov 7, 2019
1 parent 3c6d884 commit a649732568d3b8896943ce7b12e3070249d33ea0
Showing with 3 additions and 3 deletions.
  1. +3 −3 selfdrive/manager.py
@@ -377,8 +377,8 @@ def manager_thread():
running_list = [" running %s %s" % (p, running[p]) for p in running]
cloudlog.debug('\n'.join(running_list))

# is this still needed?
if params.get("DoUninstall") == "1":
# Exit main loop when uninstall is needed
if params.get("DoUninstall", encoding='utf8') == "1":
break

def get_installed_apks():
@@ -555,7 +555,7 @@ def main():
finally:
cleanup_all_processes(None, None)

if params.get("DoUninstall") == "1":
if params.get("DoUninstall", encoding='utf8') == "1":
uninstall()

if __name__ == "__main__":

1 comment on commit a649732

@geohot

This comment has been minimized.

Copy link
Contributor

geohot commented on a649732 Nov 9, 2019

Huh, why is this unicode in the first place?

Please sign in to comment.
You can’t perform that action at this time.