Skip to content

Commit

Permalink
Use objc.super for Objective-C subclass
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
dormant-user committed Aug 31, 2023
1 parent 9568709 commit 913f979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "py3-tts"
version = "3.1"
version = "3.1.1"
dependencies = [
"comtypes; platform_system == 'Windows'",
"pypiwin32; platform_system == 'Windows'",
Expand Down
2 changes: 1 addition & 1 deletion pyttsx3/drivers/nsss.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class NSSpeechDriver(NSObject):
@objc.python_method
def initWithProxy(self, proxy):
try:
proxy_attr = super(NSSpeechDriver, self).init()
proxy_attr = objc.super(NSSpeechDriver, self).init()
except AttributeError:
proxy_attr = self
if proxy_attr:
Expand Down

0 comments on commit 913f979

Please sign in to comment.