Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Mar 26, 2014
2 parents df6f82f + 012f138 commit 53d2de4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ def _eval_gen(self, streval, repllst = [], super_prefix = None):

def tolist(self, obj):
if not isinstance(obj, list):
if isinstance(obj, unicode):
return [object_dict({'value':obj})]
return [obj]
else:
return obj
Expand Down

0 comments on commit 53d2de4

Please sign in to comment.