Skip to content

fix crash in tpo.py

anarcat requested to merge anarcat/onionprobe:fix-42 into main

It seems like the TPOSites class expects a config member dict here. I'm not sure what it's for, but this patch fixes the following crash:

root@hetzner-nbg1-02:~# /usr/share/onionprobe/examples/tpo.py
Traceback (most recent call last):
  File "/usr/share/onionprobe/examples/tpo.py", line 161, in <module>
    instance.build_onionprobe_config()
  File "/usr/share/onionprobe/examples/tpo.py", line 132, in build_onionprobe_config
    self.config['shuffle']   = False
AttributeError: 'TPOSites' object has no attribute 'config'

Closes: #42 (closed)

Merge request reports

Loading