Skip to content

Commit

Permalink
V1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pingtest committed Apr 23, 2016
1 parent ea37478 commit f4a022f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getShadowSocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def update(self):
version = eval(response.content.strip())
if version['version'] > self._version['version']:
error('发现新版本,'+version['info'])
response = requests.get(verify_file, verify=False)
newFile = eval(response.content.strip())
response = requests.get(new_file, verify=False)
newFile = response.content.strip()
with open('getShadowSocksV'+version['version']+'.py', 'a') as f:
f.write(newFile);
success('更新完成,保存:./'+'getShadowSocks V'+version['version']+'.py')
Expand Down

0 comments on commit f4a022f

Please sign in to comment.