Fix PEP8 E713
This commit is contained in:
parent
c4f221fba0
commit
f7115f5f69
8 changed files with 8 additions and 8 deletions
|
|
@ -101,7 +101,7 @@ class ProAccountHistory(Page):
|
|||
except IndexError:
|
||||
return
|
||||
|
||||
if not 'checked' in checkbox.attrib:
|
||||
if 'checked' not in checkbox.attrib:
|
||||
self.browser.select_form(name='formtri')
|
||||
self.browser['szTriDate'] = ['date']
|
||||
self.browser['szTriRub'] = []
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class JsonBrowserMixin(object):
|
|||
def open(self, *args, **kwargs):
|
||||
if isJSON(kwargs.get('data')):
|
||||
kwargs['data'] = json.dumps(kwargs['data'][1])
|
||||
if not 'headers' in kwargs:
|
||||
if 'headers' not in kwargs:
|
||||
kwargs['headers'] = {}
|
||||
kwargs['headers']['Content-Type'] = 'application/json'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue