Skip to content

Commit b4038c8

Browse files
authored
Merge pull request #505 from seleniumbase/better-error-handling-with-custom-settings-parsing
Better error-handling with custom settings parsing
2 parents 7211a2c + 113e2d5 commit b4038c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seleniumbase/core/mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, database_env='test', conf_creds=None):
2323
db_user = settings.DB_USERNAME
2424
db_pass = settings.DB_PASSWORD
2525
db_schema = settings.DB_SCHEMA
26-
if sb_config.settings_file:
26+
if hasattr(sb_config, "settings_file") and sb_config.settings_file:
2727
override = settings_parser.set_settings(sb_config.settings_file)
2828
if "DB_HOST" in override.keys():
2929
db_server = override['DB_HOST']

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
setup(
4747
name='seleniumbase',
48-
version='1.35.5',
48+
version='1.35.6',
4949
description='Fast, Easy, and Reliable Browser Automation & Testing.',
5050
long_description=long_description,
5151
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)