Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Commit

Permalink
Always remove .onion extension from instance addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnchaC committed Jul 29, 2016
1 parent 15b379f commit cbda349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
UNRELEASED
----------

- Fix bug loading descriptors when an address with .onion extension is listed
in the configuration file. #37
- Add support for connecting to the Tor control port over a unix domain socket.

0.1.4
Expand Down
2 changes: 2 additions & 0 deletions onionbalance/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def __init__(self, controller, onion_address, authentication_cookie=None):
self.controller = controller

# Onion address for the service instance.
if onion_address:
onion_address = onion_address.strip('.onion')
self.onion_address = onion_address
self.authentication_cookie = authentication_cookie

Expand Down

0 comments on commit cbda349

Please sign in to comment.