From 58caa19668a6bbc12f7dcdb2fec1ad8f771a89dc Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Fri, 17 May 2013 04:36:51 +1000 Subject: [PATCH] Bugfix, The value None was being set instead of an empty string when no environment variables are defined. --- site_ansto/instrument/runsics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_ansto/instrument/runsics.py b/site_ansto/instrument/runsics.py index ced03a55..3012057b 100755 --- a/site_ansto/instrument/runsics.py +++ b/site_ansto/instrument/runsics.py @@ -47,7 +47,7 @@ def start_cmd(server, args): else: soffset = '' sicsenv = { - 'none': None, + 'none': '', 'fullsim': 'SICS_SIMULATION=full%s' % soffset, 'fakedev': 'SICS_SIMULATION=fakedev%s' % soffset, 'scriptval': 'SICS_SIMULATION=script_validator%s' % soffset