kopia lustrzana https://github.com/jcarbaugh/python-webfinger
Move requests import into finger method so that pypi installation works
rodzic
09212ef79e
commit
25625fccec
|
@ -1,5 +1,4 @@
|
||||||
import logging
|
import logging
|
||||||
import requests
|
|
||||||
|
|
||||||
__version__ = '1.0'
|
__version__ = '1.0'
|
||||||
|
|
||||||
|
@ -87,6 +86,8 @@ class WebFingerClient(object):
|
||||||
|
|
||||||
def finger(self, resource, host=None, rel=None, raw=False):
|
def finger(self, resource, host=None, rel=None, raw=False):
|
||||||
|
|
||||||
|
import requests
|
||||||
|
|
||||||
if not host:
|
if not host:
|
||||||
host = self._parse_host(resource)
|
host = self._parse_host(resource)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue