Skip to content

Commit

Permalink
Remove class instatiation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici committed Dec 12, 2024
1 parent fb2b0b8 commit 185aa1d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/hyspecppt/hyspecppt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 185aa1d

Please sign in to comment.