Skip to content

Commit

Permalink
- bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
aachenmax committed Feb 28, 2017
1 parent fa1de2c commit 1514f07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def upload(user,token,repo,tag):
if filenameclean in upload_list:
#print('github-release','-v','upload','--security-token',token,'--user',user,'--repo',repo,'--tag',tag,'--name',filenameclean,'--file',filepathclean)
try:
subprocess.check_call('github-release','-v','upload','--security-token',token,'--user',user,'--repo',repo,'--tag',tag,'--name',filenameclean,'--file',filepathclean,shell=True)
commands = ['github-release','-v','upload','--security-token',token,'--user',user,'--repo',repo,'--tag',tag,'--name',filenameclean,'--file',filepathclean]
subprocess.check_call(" ".join(commands),shell=True)
except subprocess.CalledProcessError as e:
print(str(e))

Expand Down

0 comments on commit 1514f07

Please sign in to comment.