Skip to content

Commit

Permalink
Make events/requests new style classes
Browse files Browse the repository at this point in the history
This way we will be able to use __subclasses__() call in CLI
introspection code
  • Loading branch information
Stanislav Ochotnicky committed Dec 6, 2020
1 parent 6774a62 commit a1d411d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obswebsocket/base_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import copy


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


class Baserequests:
class Baserequests(object):
def __init__(self):
self.name = '?'
self.datain = {}
Expand Down

0 comments on commit a1d411d

Please sign in to comment.