updated function description for __init__
This commit is contained in:
parent
ff3b81b813
commit
eb3eee77a0
@ -12,6 +12,8 @@ class SourceLoader:
|
|||||||
def __init__(self, rel_dir="FourmiCrawler/sources"):
|
def __init__(self, rel_dir="FourmiCrawler/sources"):
|
||||||
"""
|
"""
|
||||||
The initiation of a SourceLoader, selects and indexes a directory for usable sources.
|
The initiation of a SourceLoader, selects and indexes a directory for usable sources.
|
||||||
|
Also loads a configuration file for Sources and passes the arguments in
|
||||||
|
the named section to the source
|
||||||
:param rel_dir: A relative path to a directory.
|
:param rel_dir: A relative path to a directory.
|
||||||
"""
|
"""
|
||||||
path = os.path.dirname(os.path.abspath(__file__))
|
path = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
Reference in New Issue
Block a user