From 972d08481bc4002237d5e07155d46b0609162b15 Mon Sep 17 00:00:00 2001 From: aspurrier Date: Thu, 4 Apr 2019 23:41:37 +1100 Subject: [PATCH] DOV content_view version id in get_cv() Fixed DOV content_view version id being returned by get_cv(). --- sat_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_export.py b/sat_export.py index c0f461f..492ea06 100644 --- a/sat_export.py +++ b/sat_export.py @@ -50,7 +50,7 @@ def get_cv(org_id): helpers.log_msg(msg, 'DEBUG') # Return the ID (should be '1') and the label (forms part of the export path name) - return cv_result['id'], cv_ver, cv_result['label'] + return ver['id'], cv_ver, cv_result['label'] # Promote a content view version def export_cv(dov_ver, last_export, export_type):