import netifaces as ni
from disable_enable_print import *
def get_local_ip_address(interface_name):
    ni.ifaddresses(interface_name)
    ip = ni.ifaddresses(interface_name)[2][0]['addr']
    logging.debug ("Local IP Address: %s",ip)  # should logging.debug "192.168.100.37"
    return ip
e6a48830156c80205c4ceafade60fabb04c133f6
<mask token>

<mask token>


def get_local_ip_address(interface_name):
    ni.ifaddresses(interface_name)
    ip = ni.ifaddresses(interface_name)[2][0]['addr']
    logging.debug('Local IP Address: %s', ip)
    return ip

import netifaces as ni
from disable_enable_print import *


def get_local_ip_address(interface_name):
    ni.ifaddresses(interface_name)
    ip = ni.ifaddresses(interface_name)[2][0]['addr']
    logging.debug('Local IP Address: %s', ip)
    return ip

import netifaces as ni
from disable_enable_print import *
def get_local_ip_address(interface_name):
    ni.ifaddresses(interface_name)
    ip = ni.ifaddresses(interface_name)[2][0]['addr']
    logging.debug ("Local IP Address: %s",ip)  # should logging.debug "192.168.100.37"
    return ip