Commit 9ed8b440 authored by Orell Garten's avatar Orell Garten Committed by Wenzel Jakob
Browse files

Change __init__(self) to __new__(cls)

__init__(self) cannot return values. According to https://stackoverflow.com/questions/2491819/how-to-return-a-value-from-init-in-python __new__(cls) should be used, which works.
parent 5088364b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment