diff --git a/README.md b/README.md index 00921ae..aebf591 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ CouchPotato ===== [![Join the chat at https://gitter.im/CouchPotato/CouchPotatoServer](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CouchPotato/CouchPotatoServer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Build Status](https://travis-ci.org/CouchPotato/CouchPotatoServer.svg?branch=develop)](https://travis-ci.org/CouchPotato/CouchPotatoServer) -[![Coverage Status](https://coveralls.io/repos/CouchPotato/CouchPotatoServer/badge.svg?branch=develop&service=github)](https://coveralls.io/github/CouchPotato/CouchPotatoServer?branch=develop) +[![Build Status](https://travis-ci.org/CouchPotato/CouchPotatoServer.svg?branch=master)](https://travis-ci.org/CouchPotato/CouchPotatoServer) +[![Coverage Status](https://coveralls.io/repos/CouchPotato/CouchPotatoServer/badge.svg?branch=master&service=github)](https://coveralls.io/github/CouchPotato/CouchPotatoServer?branch=master) CouchPotato (CP) is an automatic NZB and torrent downloader. You can keep a "movies I want"-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the torrent to a specified directory. diff --git a/couchpotato/core/downloaders/transmission.py b/couchpotato/core/downloaders/transmission.py index f40b955..470523f 100644 --- a/couchpotato/core/downloaders/transmission.py +++ b/couchpotato/core/downloaders/transmission.py @@ -237,7 +237,7 @@ class TransmissionRPC(object): msg = str(err.read()) try: self.session_id = \ - re.search('X-Transmission-Session-Id:\s*(\w+)', msg).group(1) + err.hdrs['X-Transmission-Session-Id'] log.debug('X-Transmission-Session-Id: %s', self.session_id) # #resend request with the updated header diff --git a/version.py b/version.py index d3f24ba..12e96b5 100644 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ VERSION = None -BRANCH = 'develop' +BRANCH = 'master'