diff options
author | Martin Poirier <theeth@yahoo.com> | 2012-04-19 05:46:25 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2012-04-19 05:46:25 +0400 |
commit | 1a1a569f260e1720f5435d6caac2807a98bccc44 (patch) | |
tree | d46cc4e14c12378dff410137efb1c8f5cd3a9211 /netrender/client.py | |
parent | c1421af477700431013c49c6e24b502fedd21c6b (diff) |
netrender
Don't add empty tag if not tags have been specified.
Reported by Brant Anderson (by email)
Diffstat (limited to 'netrender/client.py')
-rw-r--r-- | netrender/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netrender/client.py b/netrender/client.py index 1a4334e9..3cb0b437 100644 --- a/netrender/client.py +++ b/netrender/client.py @@ -105,7 +105,8 @@ def fillCommonJobSettings(job, job_name, netsettings): else: job.render = netsettings.job_render_engine - job.tags.update(netsettings.job_tags.split(";")) + if netsettings.job_tags: + job.tags.update(netsettings.job_tags.split(";")) if netsettings.job_type == "JOB_BLENDER": job.type = netrender.model.JOB_BLENDER |