torproject / stem

Python controller library for Tor
https://stem.torproject.org/
GNU Lesser General Public License v3.0
279 stars 76 forks source link

Fix open call during hash verification #72

Closed Smeat closed 4 years ago

Smeat commented 4 years ago

Minimal example:

python -c "open('foo', 'b')" 

Results in:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: Must have exactly one of create/read/write/append mode and at most one plus
atagar commented 4 years ago

Oops! Thanks Kevin, great catch and sorry for the delay (been busy with a big feature branch). Merged.