質問

I'm using same event handler for multiple watchdog observers. I need to know, event is generated for which observer when file/dir is created.

役に立ちましたか?

解決

You can add a tag such as an observer name when you create the event. Python events can have almost any type of data added as named members and then access by the handler.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top