Commit b5328ef2 authored by Zeyu DONG's avatar Zeyu DONG
Browse files

fix bug of undefined variable

parent b76e70ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -111,7 +111,7 @@ def main():
                success, err = do_login(service, config['username'], config['password'])
                success, err = do_login(service, config['username'], config['password'])
                
                
                if err:
                if err:
                    logger.error('Error occurred: %s', str(text), exc_info=True)
                    logger.error('Error occurred: %s', str(err), exc_info=True)
                elif success:
                elif success:
                    logger.info('Login successful')
                    logger.info('Login successful')
                    check_ip()
                    check_ip()