Skip to content

Commit a1d411d

Browse files
author
Stanislav Ochotnicky
committed
Make events/requests new style classes
This way we will be able to use __subclasses__() call in CLI introspection code
1 parent 6774a62 commit a1d411d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

obswebsocket/base_classes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import copy
55

66

7-
class Baseevents:
7+
class Baseevents(object):
88
def __init__(self):
99
self.name = '?'
1010
self.datain = {}
@@ -18,7 +18,7 @@ def __repr__(self):
1818
return u"<{} event ({})>".format(self.name, self.datain)
1919

2020

21-
class Baserequests:
21+
class Baserequests(object):
2222
def __init__(self):
2323
self.name = '?'
2424
self.datain = {}

0 commit comments

Comments
 (0)