altdesktop / python-dbus-next

🚌 The next great DBus library for Python with asyncio support
https://python-dbus-next.readthedocs.io/en/latest/
MIT License
187 stars 59 forks source link

Fix typo in service example (docs) #110

Closed smheidrich closed 1 year ago

smheidrich commented 2 years ago

The example from the docs on the high-level service interface currently fails with:

Traceback (most recent call last):
  File "example.py", line 65, in <module>
    asyncio.get_event_loop().run_until_complete(main())
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "example.py", line 61, in main
    interface.changed()
AttributeError: 'ExampleInterface' object has no attribute 'changed'

This fixes the responsible typo.

acrisci commented 1 year ago

:+1: