diff --git a/bin/vhost-gen b/bin/vhost-gen index 1dfa73a..893f22c 100755 --- a/bin/vhost-gen +++ b/bin/vhost-gen @@ -29,7 +29,7 @@ if os.environ.get("MYPY_CHECK", False): # -------------------------------------------------------------------------------------------------- APPNAME = "vhost-gen" APPREPO = "https://github.com/devilbox/vhost-gen" -VERSION = "1.0.5" +VERSION = "1.0.6" RELDATE = "2022-12-18" # Default paths @@ -91,13 +91,13 @@ def log(level, message, verbosity): # stime = time.strftime("%Y-%m-%d %H:%M:%S") if level == 0: - print("vhost-gen: \x1b[31;21m[ERROR] %s\x1b[0m" % (message), file=sys.stderr) + print("vhost-gen: \x1b[31;21m[ERR] %s\x1b[0m" % (message), file=sys.stderr) elif level == 1: - print("vhost-gen: \x1b[33;21m[WARN] %s\x1b[0m" % (message), file=sys.stderr) + print("vhost-gen: \x1b[33;21m[WARN] %s\x1b[0m" % (message), file=sys.stderr) elif level == 2 and verbosity >= 1: - print("vhost-gen: [INFO] %s" % (message), file=sys.stderr) + print("vhost-gen: [INFO] %s" % (message), file=sys.stderr) elif level == 3 and verbosity >= 2: - print("vhost-gen: [DEBUG] %s" % (message), file=sys.stderr) + print("vhost-gen: [DBG] %s" % (message), file=sys.stderr) def print_help(): diff --git a/setup.py b/setup.py index 6b28fd6..4beb209 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="vhost-gen", - version="1.0.5", + version="1.0.6", description="Configurable vHost generator for Apache 2.2, Apache 2.4 and Nginx.", license="MIT", long_description=long_description,