Skip to content

TypeError #355

@Locf74

Description

@Locf74

(.venv) yyy@raspberrypi:~/wukong-robot $ python3 wukong.py


  •      wukong-robot - 涓枃璇煶瀵硅瘽鏈哄櫒浜?          *
    
  •      (c) 2019 娼樹紵娲?<m@hahack.com>              *
    
  • https://github.com/wzpan/wukong-robot.git        *
    

        鍚庡彴绠$悊绔細http://0.0.0.0:5000
        濡傞渶閫€鍑猴紝鍙互鎸?Ctrl-4 缁勫悎閿?

Traceback (most recent call last):
File "/home/yyy/wukong-robot/wukong.py", line 271, in
wukong.run()
File "/home/yyy/wukong-robot/wukong.py", line 115, in run
self.init()
File "/home/yyy/wukong-robot/wukong.py", line 51, in init
self._observer.schedule(event_handler, constants.CONFIG_PATH, False)
TypeError: BaseObserver.schedule() takes 3 positional arguments but 4 were given。运行python3 wukong.py,请问这个该如何解决呢

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions