Skip to content

Commit

Permalink
allow subclassing borg bot
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardokirkner committed Jul 8, 2012
1 parent 2376194 commit 8aad48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bots/borg.py
Expand Up @@ -23,7 +23,7 @@ def get_bots_by_name():
if name == "ClientBase":
continue
elif getattr(value, 'name', None) is not None and \
inspect.isclass(value):
inspect.isclass(value) and not issubclass(value, BorgClient):
bots[value.name] = value()
return bots

Expand Down

0 comments on commit 8aad48c

Please sign in to comment.