Skip to content

Commit

Permalink
af.Job.setEnv fixed #420
Browse files Browse the repository at this point in the history
  • Loading branch information
timurhai committed Oct 15, 2018
1 parent 7a1a036 commit 20786eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afanasy/python/af.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def setEnv(self, i_name, i_value):
:param i_value:
:return:
"""
if self.data not in ["environment"]:
if "environment" not in self.data:
self.data["environment"] = dict()

self.data["environment"][i_name] = i_value
Expand Down

0 comments on commit 20786eb

Please sign in to comment.