Skip to content

Commit 568e5c1

Browse files
committed
Pring command issues fixed
1 parent 14e2fae commit 568e5c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oa_login/spiders/checkin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ def __init__(self, checktype=None, username=None, password=None, *args, **kwargs
2222
self.checkin_checkout_type = checktype
2323
self.username = username
2424
self.password = password
25-
print checktype
25+
self.log checktype
2626
self.start_urls = [
2727
'https://qa-oa.ekbana.info/login',
2828
]
2929
else:
30-
print 'Please provide valid attributes like -a checktype=checkin -a username=harris -a password=harris'
30+
self.log 'Please provide valid attributes like -a checktype=checkin -a username=harris -a password=harris'
3131

3232
def parse(self, response):
3333
token = response.xpath('//*[@name="_token"]/@value').extract_first()

0 commit comments

Comments
 (0)