From 9844e9ffd73496e8eb778458bf3ff0c703fba841 Mon Sep 17 00:00:00 2001 From: Geoffrey Yu Date: Tue, 13 Sep 2022 12:35:30 -0400 Subject: [PATCH] [Bug Fix] Variable referenced before initialization --- src/conductor/cli/restore.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conductor/cli/restore.py b/src/conductor/cli/restore.py index 23633eb..e82eee7 100644 --- a/src/conductor/cli/restore.py +++ b/src/conductor/cli/restore.py @@ -49,6 +49,7 @@ def main(args): raise ArchiveFileInvalid() try: + archive_version_index = None staging_path = ctx.output_path / ARCHIVE_STAGING staging_path.mkdir(exist_ok=True) extract_archive(archive_file, staging_path)