[RssNotify] Shorter commit hash

master
sfan5 2014-06-02 16:56:33 +02:00
parent fc8118b68e
commit bc245a4be5
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def rsscheck(phenny, input):
except AttributeError:
commiter = commiter_realname # This will only use the realname if the nickname couldn't be obtained
reponame = url.replace("https://github.com/","").replace("/commits/master.atom","")
commit_hash = feed_entry.links[0].href.replace("https://github.com/" + reponame + "/commit/","")[:10]
commit_hash = feed_entry.links[0].href.replace("https://github.com/" + reponame + "/commit/","")[:7]
commit_time = feed_entry.updated
updcnt += 1
if rssnotify["dont_print_first_message"]: