mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
fixed check-git.py, fixed a fix was killing nzbcount during optimization
This commit is contained in:
@@ -47,7 +47,7 @@ def gitCurrentVersion():
|
||||
return current_commit
|
||||
|
||||
def latestCommit():
|
||||
url = 'https://api.github.com/repos/jonnyboy/newznab-tmux/commits/dev'
|
||||
url = 'https://api.github.com/repos/jonnyboy/newznab-tmux/commits/master'
|
||||
result = urllib2.urlopen(url).read()
|
||||
git = json.JSONDecoder().decode(result)
|
||||
return git['sha']
|
||||
|
||||
Reference in New Issue
Block a user