mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-01 19:34:24 +02:00
Fix for intermediate fetcher/cache for plugin.
This commit is contained in:
parent
dd261dec96
commit
67d4eb46ee
1 changed files with 4 additions and 0 deletions
|
|
@ -538,6 +538,7 @@ class Configuration(ConfigParser):
|
|||
ConfigParser.__init__(self)
|
||||
|
||||
self.fetcher = None # the network layer for getting pages
|
||||
self.cache = None # the caching layer for getting pages
|
||||
self.opener = None # used for _filelist
|
||||
|
||||
self.lightweight = lightweight
|
||||
|
|
@ -578,6 +579,9 @@ class Configuration(ConfigParser):
|
|||
|
||||
self.url_config_set = False
|
||||
|
||||
## XXX make sure fetcher & cache exist--revisit
|
||||
self.get_fetcher()
|
||||
|
||||
def section_url_names(self,domain,section_url_f):
|
||||
## domain is passed as a method to limit the damage if/when an
|
||||
## adapter screws up _section_url
|
||||
|
|
|
|||
Loading…
Reference in a new issue