Fixed add service issue

This commit is contained in:
2010-03-01 16:07:19 +00:00
parent 0890d6bac2
commit 96ee18e7fb

View File

@@ -86,7 +86,7 @@ class ServiceAccount(models.Model):
if not self.username:
self.username = self.user.username
api = self.service.api_class()
api = self.service.api_class
if self.active:
if not api.check_user(self.username):