Skip to content

Commit

Permalink
Fixed assignment of global variable.
Browse files Browse the repository at this point in the history
Needed 'global' prefix before the assignment.
  • Loading branch information
freskoulix committed Jul 21, 2016
1 parent 50b62ea commit 950627e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codebender_testing/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def create_webdriver(command_executor, desired_capabilities):
browser_profile = None
browser_profile_path = None

global SELENIUM_BROWSER
SELENIUM_BROWSER = browser_name

if browser_name == "chrome":
Expand Down

0 comments on commit 950627e

Please sign in to comment.