remove python zip file after extracting

This commit is contained in:
Alan Hamlett 2015-12-01 01:00:48 -08:00
parent 1fdda0d64a
commit 27afc41bf4

View file

@ -418,6 +418,11 @@ class InstallPython(threading.Thread):
path = os.path.join(os.path.expanduser('~'), '.wakatime', 'python')
zf.extractall(path)
try:
os.remove(zip_file)
except:
pass
def plugin_loaded():
global SETTINGS