Skip to content

Commit

Permalink
dont overwrite zips
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Apr 19, 2020
1 parent bc84f22 commit a2e29d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwnagotchi/plugins/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ def update(config):
return 1

rc = 0
DEST = os.path.join(SAVE_DIR, 'plugins.zip')
for REPO_URL in urls:
for idx, REPO_URL in enumerate(urls):
DEST = os.path.join(SAVE_DIR, 'plugins%d.zip' % idx)
logging.info('Downloading plugins from %s to %s', REPO_URL, DEST)

try:
Expand Down

0 comments on commit a2e29d6

Please sign in to comment.