Add check_voip
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
cd55d2f061
commit
c80e22482e
7 changed files with 215 additions and 0 deletions
13
lib/__init__.py
Normal file
13
lib/__init__.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import logging
|
||||
import os
|
||||
|
||||
|
||||
def show_version():
|
||||
with open(
|
||||
os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "VERSION"), "r"
|
||||
) as fd:
|
||||
print(fd.read().strip())
|
||||
|
||||
|
||||
def setup_logging(args):
|
||||
logging.basicConfig(format="%(levelname)s: %(message)s", level=args.loglevel)
|
Loading…
Add table
Add a link
Reference in a new issue