This commit is contained in:
2025-12-23 11:40:49 +01:00
parent abb5fc7708
commit 6081c44d4c
2 changed files with 3 additions and 5 deletions

View File

@@ -11,11 +11,9 @@ import signal
import sys
import json
import argparse
import tty
import termios
import hvac
from tabulate import tabulate
from port import Portainer
from port import PortainerApi
from prompt_toolkit import prompt
from prompt_toolkit.completion import WordCompleter
from prompt_toolkit.shortcuts import checkboxlist_dialog
@@ -427,7 +425,7 @@ if __name__ == "__main__":
os.system("cls" if os.name == "nt" else "clear")
# Example: list endpoints
por = Portainer(cur_config["PORTAINER_SITE"], args)
por = PortainerApi(cur_config["PORTAINER_SITE"], args)
por.set_defaults(cur_config)
if args.debug:
por._debug = True