diff --git a/amsn2/backend/defaultaccountbackend.py b/amsn2/backend/defaultaccountbackend.py index 3f82fa9a..afe1dc27 100644 --- a/amsn2/backend/defaultaccountbackend.py +++ b/amsn2/backend/defaultaccountbackend.py @@ -170,12 +170,13 @@ def removeAccount(self, email): os.rmdir(os.path.join(root, subdir)) os.rmdir(accdir) - """ - Get location of display picture. A SHA sum is included in the filename, - this is converted to hex. - @return: string with filename. - """ + def getFileLocationDP(self, email, uid, shac): + """ + Get location of display picture. A SHA sum is included in the filename, + this is converted to hex. + @return: string with filename. + """ dir = os.path.join(self.dps_dir, self._getDir(email)) if not os.path.isdir(dir): os.makedirs(dir, 0700)