move test button to debug

This commit is contained in:
2023-01-16 13:02:07 +01:00
parent ead2b06eca
commit bbda532246

View File

@@ -795,6 +795,7 @@ async def application(request):
# wp.add(STATUS_DIV)
# TODO: Test
if DEBUG:
test_row = Div(classes="row q-pa-sm q-gutter-sm", a=tab_panel['[all]'])
# button with active status led
test_btn = Button(
@@ -845,7 +846,7 @@ def cli():
help="Specify the port to use (overwrites the value inside the config file, fallbacks to 8000)")
parser.add_argument('-v', '--verbose', action="store_true", help="Verbose output")
parser.add_argument('-D', '--debug', action='store_true', help=argparse.SUPPRESS)
parser.add_argument('-h', '--help', action='store_true', default=argparse.SUPPRESS, # action help auto exits
parser.add_argument('-h', '--help', action='store_true', # action help auto exits
help='Show this help message and exit')
args = parser.parse_args()