From 43ff04a53be4d4d373395979c74a31abafd748c8 Mon Sep 17 00:00:00 2001 From: Faule Socke Date: Sun, 28 Jul 2013 22:22:49 +0200 Subject: [PATCH] Fixed a bug in the bugfix -.- --- port/PyAssimp/pyassimp/core.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/port/PyAssimp/pyassimp/core.py b/port/PyAssimp/pyassimp/core.py index 3638a1373..cd88d026f 100644 --- a/port/PyAssimp/pyassimp/core.py +++ b/port/PyAssimp/pyassimp/core.py @@ -338,7 +338,11 @@ def _finalize_mesh(mesh, target): class PropertyGetter(dict): - def __getitem__(self, key, semantic = 0): + def __getitem__(self, key): + semantic = 0 + if isinstance(key, tuple): + key, semantic = key + return dict.__getitem__(self, (key, semantic)) def keys(self):