mirror of
https://github.com/maldevel/EmailHarvester.git
synced 2025-09-30 05:54:43 +08:00
use correct path
This commit is contained in:
parent
c273f80da8
commit
cca05240a7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class EmailHarvester(object):
|
||||||
self.userAgent = userAgent
|
self.userAgent = userAgent
|
||||||
self.parser = myparser()
|
self.parser = myparser()
|
||||||
self.activeEngine = "None"
|
self.activeEngine = "None"
|
||||||
path = os.path.join(os.path.dirname(sys.argv[0]) + "/plugins/")
|
path = os.path.dirname(os.path.abspath(__file__)) + "/plugins/"
|
||||||
plugins = {}
|
plugins = {}
|
||||||
|
|
||||||
sys.path.insert(0, path)
|
sys.path.insert(0, path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue