sitecrawler force_rewrite behaviour now loaded from config
This commit is contained in:
parent
38f4b9f79f
commit
7a70f6a721
|
|
@ -17,7 +17,7 @@ class SiteCrawler:
|
||||||
self.destination_path = destination
|
self.destination_path = destination
|
||||||
|
|
||||||
# initialize variables
|
# initialize variables
|
||||||
self.force_rewrite = True # TODO: read from config
|
self.force_rewrite = self._env.config["parser_config"]["export"]["force_rewrite"]
|
||||||
self.directories = []
|
self.directories = []
|
||||||
self.files = []
|
self.files = []
|
||||||
self.preparsers = []
|
self.preparsers = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue