capitalize AS in whois result

This commit is contained in:
Steffen Vogel 2015-04-04 19:24:24 +02:00
parent 19f9e2493b
commit 288aca205a

2
lg.py
View file

@ -213,7 +213,7 @@ def whois():
try:
asnum = int(query)
query = "as%d" % asnum
query = "AS%d" % asnum
except:
m = re.match(r"[\w\d-]*\.(?P<domain>[\d\w-]+\.[\d\w-]+)$", query)
if m: