Can now use python2 or python3 interchangeably.

pull/371/head
Joseph Waggy 6 years ago committed by GitHub
parent 2ca843a22a
commit bf9657fc91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      update_plugins.py

@ -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)

Loading…
Cancel
Save