Browse Source

fixed timestamp

pull/3/head
rscmbbng 11 years ago
parent
commit
9e00346e7d
  1. 2
      main.py

2
main.py

@ -359,8 +359,6 @@ class bc(object):
for ip in line: for ip in line:
if re.match(r'\d{1,4}\.\dms$', ip): if re.match(r'\d{1,4}\.\dms$', ip):
self.timestamp = ip.replace('ms', '') self.timestamp = ip.replace('ms', '')
print self.timestamp
print ('*'*45)
if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$",ip): if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$",ip):
self.hop_ip = ip self.hop_ip = ip

Loading…
Cancel
Save