Can now use python2 or python3 interchangeably.
This commit is contained in:
parent
2ca843a22a
commit
bf9657fc91
1 changed files with 1 additions and 2 deletions
|
@ -82,14 +82,13 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
shutil.move(plugin_temp_path, plugin_dest_path)
|
shutil.move(plugin_temp_path, plugin_dest_path)
|
||||||
|
print(zip_path)
|
||||||
print('Updated {0}'.format(plugin_name))
|
print('Updated {0}'.format(plugin_name))
|
||||||
|
|
||||||
|
|
||||||
def update(plugin):
|
def update(plugin):
|
||||||
name, github_url = plugin.split(' ')
|
name, github_url = plugin.split(' ')
|
||||||
zip_path = GITHUB_ZIP % github_url
|
zip_path = GITHUB_ZIP % github_url
|
||||||
print zip_path
|
|
||||||
download_extract_replace(name, zip_path,
|
download_extract_replace(name, zip_path,
|
||||||
temp_directory, SOURCE_DIR)
|
temp_directory, SOURCE_DIR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue