Skip to content

Commit

Permalink
Fixed an TypeError "super(type, obj): obj must be an instance or subt…
Browse files Browse the repository at this point in the history
…ype of type" when device monitor is used with a custom dev-platform filter // Resolve #3431
  • Loading branch information
ivankravets committed Mar 20, 2020
1 parent d32312e commit 658b3df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ PlatformIO Core 4
4.3.1 (2020-??-??)
~~~~~~~~~~~~~~~~~~

* Fixed an error "SyntaxError: 'return' with argument inside generator" for PIO Unified Debugger when Python 2.7 is used
* Fixed a SyntaxError "'return' with argument inside generator" for PIO Unified Debugger when Python 2.7 is used
* Fixed an issue when ``lib_archive = no`` was not honored in `"platformio.ini" <https://docs.platformio.org/page/projectconf.html>`__
* Fixed an TypeError "super(type, obj): obj must be an instance or subtype of type" when device monitor is used with a custom dev-platform filter (`issue #3431 <https://github.com/platformio/platformio-core/issues/3431>`_)

4.3.0 (2020-03-19)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion platformio/commands/device/filters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class DeviceMonitorFilter(miniterm.Transform):
def __init__(self, project_dir=None, environment=None):
""" Called by PlatformIO to pass context """
super(DeviceMonitorFilter, self).__init__()
miniterm.Transform.__init__(self)

self.project_dir = project_dir
self.environment = environment
Expand Down

0 comments on commit 658b3df

Please sign in to comment.