IvanGlinkin/CCTV

AttributeError: 'PeerSelfLocated' object has no attribute 'distance'

maaxx0 opened this issue · 1 comments

What i get when i run the code
i tried different OS but still same problem

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/gehrman/Downloads/CCTV-main/start.py", line 174, in <module>
    if peer_located.distance == 500:
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PeerSelfLocated' object has no attribute 'distance'

Close as duplicated -> #12