diff options
Diffstat (limited to 'src/setup/profile.py')
-rw-r--r-- | src/setup/profile.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/setup/profile.py b/src/setup/profile.py index 3d45e9a..96b4caf 100644 --- a/src/setup/profile.py +++ b/src/setup/profile.py @@ -29,6 +29,7 @@ class Profile(object): else: # there is no XML representation of this Profile, so just store its name self.name = name + self.path = None pass def getName(self): @@ -36,7 +37,7 @@ class Profile(object): return self.name def getMaxScore(self, level=None, skill=None): - ''' ''' + '''Returns the player's max score corresponding to the given filters''' # if no path, then no XML to read for the max score if self.path == None: @@ -47,7 +48,7 @@ class Profile(object): return 1 def getMaxDuration(self, level=None, skill=None): - ''' ''' + '''Returns the player's max playing duration corresponding to the given filters''' # if no path, then no XML to read for the max duration if self.path == None: @@ -58,7 +59,7 @@ class Profile(object): return 1 def getLastTimePlayed(self, level=None, skill=None): - ''' ''' + '''Returns the player's max last time played corresponding to the given filters''' # if no path, then no XML to read for the last time played if self.path == None: return 0 |