From 8fff3f2fbacba1fcc1b44cfdc211ff326ef2fcf0 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Fri, 2 Oct 2020 15:55:05 +0200 Subject: [PATCH] clean(nuke): hound fixes --- pype/plugins/nuke/load/load_gizmo.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/pype/plugins/nuke/load/load_gizmo.py b/pype/plugins/nuke/load/load_gizmo.py index 58b7db667e..c6228b95f6 100644 --- a/pype/plugins/nuke/load/load_gizmo.py +++ b/pype/plugins/nuke/load/load_gizmo.py @@ -153,29 +153,6 @@ class LoadGizmo(api.Loader): return update_container(GN, data_imprint) - def byteify(self, input): - """ - Converts unicode strings to strings - It goes trought all dictionary - - Arguments: - input (dict/str): input - - Returns: - dict: with fixed values and keys - - """ - - if isinstance(input, dict): - return {self.byteify(key): self.byteify(value) - for key, value in input.iteritems()} - elif isinstance(input, list): - return [self.byteify(element) for element in input] - elif isinstance(input, unicode): - return input.encode('utf-8') - else: - return input - def switch(self, container, representation): self.update(container, representation)