Skip to content

Commit 95b5760

Browse files
committed
Fix a bug with processing the "variables" dictionary option
1 parent fe81ab2 commit 95b5760

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13239,6 +13239,8 @@ def setUp(self, masterqa_mode=False):
1323913239
'\nExpecting a Python dictionary for "variables"!'
1324013240
"\nEg. --variables=\"{'KEY1':'VALUE', 'KEY2':123}\""
1324113241
)
13242+
elif type(variables) is dict:
13243+
pass # Already processed
1324213244
else:
1324313245
variables = {}
1324413246
sb_config.variables = variables

0 commit comments

Comments
 (0)