From d9848701550fc712efbc9ae6a96a915eed43f1af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 9 Mar 2018 09:59:54 +0100 Subject: [PATCH] Don't repeat superclass name --- blender_asset_tracer/bpathlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender_asset_tracer/bpathlib.py b/blender_asset_tracer/bpathlib.py index 3d8c53d..5c80a30 100644 --- a/blender_asset_tracer/bpathlib.py +++ b/blender_asset_tracer/bpathlib.py @@ -19,7 +19,7 @@ class BlendPath(bytes): if not isinstance(path, bytes): raise TypeError('path must be bytes or pathlib.Path, but is %r' % path) - return bytes.__new__(cls, path) + return super().__new__(cls, path) @classmethod def mkrelative(cls, asset_path: pathlib.Path, bfile_path: pathlib.Path) -> 'BlendPath':