From 15fac1510fe65c943f9c9aa2557b0ff0d06f4690 Mon Sep 17 00:00:00 2001 From: Eric Rasche Date: Sun, 26 Jun 2016 02:44:54 +0000 Subject: [PATCH] Fix old bug in non-allowed_images.yml GIEs --- lib/galaxy/web/base/interactive_environments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/web/base/interactive_environments.py b/lib/galaxy/web/base/interactive_environments.py index 1758b7c3aab..f9fdcf6fba3 100644 --- a/lib/galaxy/web/base/interactive_environments.py +++ b/lib/galaxy/web/base/interactive_environments.py @@ -86,8 +86,8 @@ class InteractiveEnvironmentRequest(object): # If we don't have an allowed images, then we fall back to image # name specified in the .ini file try: - self.allowed_images = [self.attr.viz_config.image] - self.default_image = self.attr.viz_config.image + self.allowed_images = [self.attr.viz_config.get('docker', 'image')] + self.default_image = self.attr.viz_config.get('docker', 'image') return except AttributeError: raise Exception("[{0}] Could not find allowed_images.yml, or image tag in {0}.ini file for ".format(self.attr.viz_id))