mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 10:58:01 -05:00
Fix for issue #933, resolves Commit object attribute issues
This commit is contained in:
parent
8deb7485ab
commit
de23635e28
@ -626,11 +626,11 @@ class SourceUpdateManager(UpdateManager):
|
||||
|
||||
for curCommit in sickbeard.gh.get_commits():
|
||||
if not self._newest_commit_hash:
|
||||
self._newest_commit_hash = curCommit['sha']
|
||||
self._newest_commit_hash = curCommit.sha
|
||||
if not self._cur_commit_hash:
|
||||
break
|
||||
|
||||
if curCommit['sha'] == self._cur_commit_hash:
|
||||
if curCommit.sha == self._cur_commit_hash:
|
||||
break
|
||||
|
||||
# when _cur_commit_hash doesn't match anything _num_commits_behind == 100
|
||||
|
Loading…
Reference in New Issue
Block a user