added version number

This commit is contained in:
Michael Murtaugh 2020-06-01 07:12:27 +02:00
parent 06ecea9f51
commit fa990f33f5
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ from urllib.parse import urlparse, urlunparse, urlencode, quote_plus, unquote_pl
from urllib.request import urlopen, URLError, HTTPError from urllib.request import urlopen, URLError, HTTPError
from html.entities import name2codepoint from html.entities import name2codepoint
VERSION = "0.9"
groupnamepat = re.compile(r"^g\.(\w+)\$") groupnamepat = re.compile(r"^g\.(\w+)\$")
def splitpadname (padid): def splitpadname (padid):
m = groupnamepat.match(padid) m = groupnamepat.match(padid)

View File

@ -65,6 +65,8 @@ def main (args):
args = p.parse_args(args) args = p.parse_args(args)
print ("etherdump version {}".format(VERSION), file=sys.stderr)
raw_ext = ".raw.txt" raw_ext = ".raw.txt"
if args.no_raw_ext: if args.no_raw_ext:
raw_ext = "" raw_ext = ""