def get_network_timezone(network):
 if (network is None):
  return sr_timezone
 try:
  return (tz.gettz(network_dict[network]) or sr_timezone)
 except Exception:
  return sr_timezone

def get_network_timezone ( network ) : if ( network is None ) : return sr_timezone try : return ( tz . gettz ( network_dict [ network ] ) or sr_timezone ) except Exception : return sr_timezone
get a timezone of a network from a given network dict .