Skip to content

Commit

Permalink
Fix code overlooked during pycroft api refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeto committed Feb 11, 2019
1 parent 3c4aa25 commit 708d979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sipa/model/pycroft/user.py
Expand Up @@ -98,7 +98,7 @@ def ips(self):
@active_prop @active_prop
@connection_dependent @connection_dependent
def mac(self): def mac(self):
return {'value': ", ".join(i['mac'] for i in self.user_data.interfaces), return {'value': ", ".join(i.mac for i in self.user_data.interfaces),

This comment has been minimized.

Copy link
@lukasjuhrich

lukasjuhrich Mar 6, 2019

Collaborator

Ew, thanks for catching this.

'tmp_readonly': len(self.user_data.interfaces) != 1} 'tmp_readonly': len(self.user_data.interfaces) != 1}


@active_prop @active_prop
Expand Down

0 comments on commit 708d979

Please sign in to comment.