Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
error message
Browse files Browse the repository at this point in the history
  • Loading branch information
10se1ucgo committed Sep 26, 2015
1 parent 29eaff8 commit c04f286
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ def apppackage(reinstall, applist):
subprocess.call("powershell \"Get-AppxPackage *{0}* | Remove-AppxPackage\"".format(appname), shell=True)
except (WindowsError, IOError):
print "App management: Could not uninstall {0}".format(appname)
pass

if reinstall:
# We encode in Base64 because the command is complex and I'm too lazy to escape everything.
Expand All @@ -639,7 +638,7 @@ def apppackage(reinstall, applist):
try:
subprocess.call("powershell -EncodedCommand {0}".format(encodedcommand), shell=True)
except (WindowsError, IOError):
pass
print "App management: Could not re-install all apps"


if __name__ == '__main__':
Expand Down

0 comments on commit c04f286

Please sign in to comment.