Fixes some inconsistencies when exporting configs.

This commit is contained in:
grossmj committed 2014-07-17 18:22:27 -06:00
1 parent f5cf7363da
commit 64f78bb847
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -782,6 +782,10 @@ class IOU(IModule):
if not iou_instance:
return
if not iou_instance.initial_config:
self.send_custom_error("unable to export the initial-config because it doesn't exist")
return
response = {}
initial_config_path = os.path.join(iou_instance.working_dir, iou_instance.initial_config)
try: