Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Nvizible/NukeExternalControl
Browse files Browse the repository at this point in the history
  • Loading branch information
HughMacdonald committed Oct 29, 2011
2 parents f1b4f8d + a100f3e commit f4214f9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions nukeCommandServer.py
Expand Up @@ -67,10 +67,13 @@ def recode_data(self, data, recode_object_func):
newList.append(self.recode_data(i, recode_object_func)) newList.append(self.recode_data(i, recode_object_func))
return type(data)(newList) return type(data)(newList)
elif type(data) in dictTypes: elif type(data) in dictTypes:
newDict = {} if 'type' in data and data['type'] == "NukeTransferObject":
for k in data: return recode_object_func(data)
newDict[self.recode_data(k, recode_object_func)] = self.recode_data(data[k], recode_object_func) else:
return newDict newDict = {}
for k in data:
newDict[self.recode_data(k, recode_object_func)] = self.recode_data(data[k], recode_object_func)
return newDict
else: else:
return recode_object_func(data) return recode_object_func(data)


Expand Down

0 comments on commit f4214f9

Please sign in to comment.