From e4b77a4a0af0b075aead4a8924b7f7d60f1ad2ae Mon Sep 17 00:00:00 2001 From: jobevers Date: Tue, 21 Feb 2017 08:45:12 -0600 Subject: [PATCH] clean up lint errors --- lbrynet/lbrynet_daemon/Daemon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 2ecf1ccd5..2e3ea843e 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -2,7 +2,6 @@ import binascii import logging.handlers import mimetypes import os -import platform import re import base58 import requests @@ -153,7 +152,7 @@ class CheckRemoteVersion(object): release = self._get_release_data() # githubs documentation claims this should never happen, but we'll check just in case if release['prerelease']: - raise Exception('Release {} is a pre-release'.format(tag)) + raise Exception('Release {} is a pre-release'.format(release['tag_name'])) self.version = self._get_version_from_release(release) def _get_release_data(self):