add high level compatibility

This commit is contained in:
Lorenzo 2020-11-30 15:02:57 +01:00
parent 4e4160267d
commit a6fb6960df

View File

@ -1,8 +1,10 @@
# pylint: disable=too-many-branches, too-many-statements
import argparse
from openpifpaf.network.factory import cli as openpifpaf_cli
try:
from openpifpaf.network.nets import cli as openpifpaf_cli
except ModuleNotFoundError:
from openpifpaf.network.factory import cli as openpifpaf_cli
from openpifpaf.network import nets
from openpifpaf import decoder