Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit b9c65a1

Browse files
committed
add extra note
1 parent bb42029 commit b9c65a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

script.module.codequick/lib/codequick/listing.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,10 @@ def set_callback(self, callback, *args, **kwargs):
629629
To override this behavior, you can pass in the ``is_playable`` and ``is_folder`` parameters.
630630
If only ``is_folder`` is given, then ``is_playable`` will default to ``not is_folder``.
631631
632+
.. note::
633+
634+
If callback is a file path, use listitem.path instead of set_callback()
635+
632636
:param callback: The "callback" or playable URL.
633637
:param args: "Positional" arguments that will be passed to the callback.
634638
:param kwargs: "Keyword" arguments that will be passed to the callback.

0 commit comments

Comments
 (0)