mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
544f991eed
commit
6e922830b5
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
||||||
from mechanize import Request
|
from mechanize import Request
|
||||||
|
|
||||||
|
|
||||||
def absurl(x):
|
def absurl(x):
|
||||||
if x.startswith('//'):
|
if x.startswith('//'):
|
||||||
x = 'https:' + x
|
x = 'https:' + x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user