1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00

Can now use python2 or python3 interchangeably.

This commit is contained in:
Joseph Waggy 2017-12-06 11:01:41 -05:00 committed by GitHub
parent 2ca843a22a
commit bf9657fc91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,14 +82,13 @@ def download_extract_replace(plugin_name, zip_path, temp_dir, source_dir):
pass
shutil.move(plugin_temp_path, plugin_dest_path)
print(zip_path)
print('Updated {0}'.format(plugin_name))
def update(plugin):
name, github_url = plugin.split(' ')
zip_path = GITHUB_ZIP % github_url
print zip_path
download_extract_replace(name, zip_path,
temp_directory, SOURCE_DIR)