remove python zip file after extracting
This commit is contained in:
parent
1fdda0d64a
commit
27afc41bf4
1 changed files with 5 additions and 0 deletions
|
@ -418,6 +418,11 @@ class InstallPython(threading.Thread):
|
||||||
path = os.path.join(os.path.expanduser('~'), '.wakatime', 'python')
|
path = os.path.join(os.path.expanduser('~'), '.wakatime', 'python')
|
||||||
zf.extractall(path)
|
zf.extractall(path)
|
||||||
|
|
||||||
|
try:
|
||||||
|
os.remove(zip_file)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def plugin_loaded():
|
def plugin_loaded():
|
||||||
global SETTINGS
|
global SETTINGS
|
||||||
|
|
Loading…
Reference in a new issue