Fix wrong account type initialiser

Addresses #14
This commit is contained in:
mailchuck 2015-12-02 11:12:37 +01:00 committed by Peter Surda
parent 27b8891ab4
commit d72e5647f4
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class AccountColor(AccountMixin):
class BMAccount(object):
def __init__(self, address = None):
self.address = address
self.type = 'normal'
self.type = AccountMixin.NORMAL
if shared.config.has_section(address):
if shared.safeConfigGetBoolean(self.address, 'chan'):
self.type = AccountMixin.CHAN