mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
use logging?
This commit is contained in:
parent
7137278213
commit
86a8ea52e9
@ -2,12 +2,11 @@
|
||||
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
from __future__ import absolute_import
|
||||
import re
|
||||
import logging
|
||||
|
||||
from svtplay_dl.utils.urllib import urlparse
|
||||
from svtplay_dl.utils import download_thumbnail, HTTP
|
||||
|
||||
import logging
|
||||
|
||||
log = logging.getLogger('svtplay_dl')
|
||||
|
||||
|
||||
class Service(object):
|
||||
@ -73,7 +72,7 @@ class Service(object):
|
||||
# interface, so we don't want to remove it. Thus, the
|
||||
# pylint ignore.
|
||||
def find_all_episodes(self, options): # pylint: disable-msg=unused-argument
|
||||
log.warning("--all-episodes not implemented for this service")
|
||||
logging.warning("--all-episodes not implemented for this service")
|
||||
return [self.url]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user