From 6d7863a89dcb47df1479658d879e47aa4c8870c3 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Wed, 4 May 2022 13:24:08 +0300 Subject: [PATCH] fixed match case --- horsy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/horsy.py b/horsy.py index e722a6a..2d9a273 100644 --- a/horsy.py +++ b/horsy.py @@ -102,13 +102,13 @@ match option: case 'upload': from modules.uploader import upload upload() - case 'install', 'i': + case 'install' | 'i': from modules.manager import install install(app) - case 'uninstall', 'un': + case 'uninstall' | 'un': from modules.manager import uninstall uninstall(app) - case 'source', 's': + case 'source' | 's': from modules.source import get_source get_source(app) case 'search': @@ -117,7 +117,7 @@ match option: case 'info': from modules.search import info info(app) - case 'list', 'l': + case 'list' | 'l': from modules.manager import apps_list apps_list() case 'like':