From 185aa1d5f0565bfecaac3c4947857089387ae869 Mon Sep 17 00:00:00 2001 From: Andrei Savici Date: Thu, 12 Dec 2024 11:20:09 -0500 Subject: [PATCH] Remove class instatiation --- src/hyspecppt/hyspecppt.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/hyspecppt/hyspecppt.py b/src/hyspecppt/hyspecppt.py index 63ddd67..ba3ce5d 100644 --- a/src/hyspecppt/hyspecppt.py +++ b/src/hyspecppt/hyspecppt.py @@ -15,15 +15,6 @@ class HyspecPPT(QMainWindow): """Main Package window""" - - __instance = None - - def __new__(cls): - """Create new instance of the HyspecPPT""" - if not cls.__instance: - cls.__instance = super(HyspecPPT, cls).__new__(cls) - return cls.__instance - def __init__(self, parent=None): """Constructor""" super().__init__(parent)