Skip to content

Commit

Permalink
Fix facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
domstoppable committed Apr 17, 2017
1 parent 38dc92f commit c79cb53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import platform

version = '2.1.4'
version = '2.1.5'

if platform.system() == 'Linux':
platformExt = 'linux'
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/Facebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def createEvent(self, event):
logging.debug('Attempting auto login...')
self.setValue(Selenium.waitForID('email'), self.getSetting('Email'))
self.setValue(Selenium.waitForID('pass'), self.getSetting('Password'))
Selenium.waitForID('pass'), self.getSetting('Password').submit()
Selenium.waitForID('pass').submit()
else:
logging.debug('Please login...')

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/Selenium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def start(self):
driver = webdriver.Chrome(driverPath)
else:
os.environ["PATH"] += os.pathsep + basePath
driver = webdriver.Firefox()
driver = webdriver.Firefox(executable_path=driverPath)

return driver

Expand Down

0 comments on commit c79cb53

Please sign in to comment.