Skip to content

Commit

Permalink
Revert "refactor: remove unnecessary async"
Browse files Browse the repository at this point in the history
This reverts commit cc994b2.
  • Loading branch information
Ljzd-PRO committed Oct 26, 2024
1 parent 92cad89 commit 3bf0c57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ktoolbox/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class KToolBoxCli:
@staticmethod
def version():
async def version():
"""Show KToolBox version"""
return __version__

Expand All @@ -35,7 +35,7 @@ async def site_version():
return ret.data if ret else ret.message

@staticmethod
def config_editor():
async def config_editor():
"""Launch graphical KToolBox configuration editor"""
try:
from ktoolbox.editor import run_config_editor
Expand All @@ -48,7 +48,7 @@ def config_editor():
)

@staticmethod
def example_env():
async def example_env():
"""Generate an example configuration ``.env`` file."""
print(
render(
Expand Down

0 comments on commit 3bf0c57

Please sign in to comment.