diff --git a/src/sasctl/pzmm/write_score_code.py b/src/sasctl/pzmm/write_score_code.py index a8c179dd..6b8a5546 100644 --- a/src/sasctl/pzmm/write_score_code.py +++ b/src/sasctl/pzmm/write_score_code.py @@ -452,13 +452,13 @@ def _write_imports( try: if current_session().version_info() != 3.5: self.score_code += "import settings\n\n" - + """ import settings """ - + except AttributeError: warn( "No current session connection was found to a SAS Viya server. Score " @@ -466,7 +466,6 @@ def _write_imports( "SAS Viya 4." ) self.score_code += "import settings\n\n" - if mojo_model or binary_h2o_model: self.score_code += "import h2o\n\nh2o.init()\n\n"