mirror of
https://github.com/maldevel/EmailHarvester.git
synced 2024-09-20 06:55:57 +08:00
use correct path
This commit is contained in:
parent
c273f80da8
commit
cca05240a7
|
@ -97,7 +97,7 @@ class EmailHarvester(object):
|
|||
self.userAgent = userAgent
|
||||
self.parser = myparser()
|
||||
self.activeEngine = "None"
|
||||
path = os.path.join(os.path.dirname(sys.argv[0]) + "/plugins/")
|
||||
path = os.path.dirname(os.path.abspath(__file__)) + "/plugins/"
|
||||
plugins = {}
|
||||
|
||||
sys.path.insert(0, path)
|
||||
|
|
Loading…
Reference in a new issue