mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-07-22 04:41:46 +00:00
keep names consistent
This commit is contained in:
parent
c369f4e3d5
commit
23d3118e6a
@ -61,9 +61,9 @@ async def list(ctx: click.Context, id: bool = False):
|
||||
tg.start_soon(conn.background_processing)
|
||||
tg.start_soon(_run)
|
||||
except* ProtocolError as excgroup:
|
||||
raisable = next(iter(excgroup.exceptions))
|
||||
e = SlobsCliProtocolError(str(raisable))
|
||||
raise e
|
||||
p_error = next(iter(excgroup.exceptions))
|
||||
raisable = SlobsCliProtocolError(str(p_error))
|
||||
raise raisable
|
||||
|
||||
|
||||
@scene.command()
|
||||
@ -87,9 +87,9 @@ async def current(ctx: click.Context, id: bool = False):
|
||||
tg.start_soon(conn.background_processing)
|
||||
tg.start_soon(_run)
|
||||
except* ProtocolError as excgroup:
|
||||
raisable = next(iter(excgroup.exceptions))
|
||||
e = SlobsCliProtocolError(str(raisable))
|
||||
raise e
|
||||
p_error = next(iter(excgroup.exceptions))
|
||||
raisable = SlobsCliProtocolError(str(p_error))
|
||||
raise raisable
|
||||
|
||||
|
||||
@scene.command()
|
||||
|
Loading…
x
Reference in New Issue
Block a user