mirror of
https://github.com/k4yt3x/wg-meshconf.git
synced 2024-11-21 23:23:18 +01:00
made prettytable an optional import
This commit is contained in:
parent
03fd6267a9
commit
215032f0c3
@ -4,17 +4,19 @@
|
||||
Name: Database Manager
|
||||
Creator: K4YT3X
|
||||
Date Created: July 19, 2020
|
||||
Last Modified: November 15, 2020
|
||||
Last Modified: January 12, 2021
|
||||
"""
|
||||
|
||||
# built-in imports
|
||||
import contextlib
|
||||
import copy
|
||||
import json
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
# third party imports
|
||||
from prettytable import PrettyTable
|
||||
with contextlib.suppress(ImportError):
|
||||
from prettytable import PrettyTable
|
||||
|
||||
# local imports
|
||||
from .wireguard import WireGuard
|
||||
|
Loading…
Reference in New Issue
Block a user