mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 00:09:04 +00:00
Fix CLI modify error on mac
This commit is contained in:
@@ -3,6 +3,7 @@ from typing import Optional, List
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
import typer
|
import typer
|
||||||
|
import sys
|
||||||
|
|
||||||
from seedpass.core.manager import PasswordManager
|
from seedpass.core.manager import PasswordManager
|
||||||
from seedpass.core.entry_types import EntryType
|
from seedpass.core.entry_types import EntryType
|
||||||
@@ -368,6 +369,7 @@ def entry_modify(
|
|||||||
)
|
)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
typer.echo(str(e))
|
typer.echo(str(e))
|
||||||
|
sys.stdout.flush()
|
||||||
raise typer.Exit(code=1)
|
raise typer.Exit(code=1)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user