# | Line 9 | Line 9 | class Bank(object): | |
---|---|---|
9 | self.__config = config | |
10 | ||
11 | def accounts(self): | |
12 | < | return map(lambda account: tuple(account.split(':', 1)), self.__config.getlist('accounts')) |
12 | > | return map(lambda account: (account[0], int(account[1])), map(lambda account: tuple(account.split(':', 1)), self.__config.getlist('accounts'))) |
13 | ||
14 | def download(self, account): | |
15 | raise NotImplementedError |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |