Skip to content

Commit

Permalink
commands.extract:cmd_extract - fix incorrect command class
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Dec 16, 2024
1 parent 65f4cb2 commit 74746e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion digiarch/commands/extract/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from digiarch.commands.identify import identify_original_file
from digiarch.commands.identify import identify_requirements
from digiarch.common import AVID
from digiarch.common import CommandWithRollback
from digiarch.common import get_avid
from digiarch.common import open_database
from digiarch.common import option_dry_run
Expand Down Expand Up @@ -128,7 +129,7 @@ def rollback_extract(ctx: Context, avid: AVID, database: FilesDB, _event: Event,


@rollback("unpacked", rollback_extract)
@command("extract", short_help="Unpack archives.")
@command("extract", short_help="Unpack archives.", cls=CommandWithRollback)
@argument_query(False, "uuid", ["uuid", "checksum", "puid", "relative_path", "action", "warning", "processed", "lock"])
@option(
"--siegfried-path",
Expand Down

0 comments on commit 74746e3

Please sign in to comment.