Rename gameTypeId to gametypeId

Go through and change all references to gameTypeId to gametypeId to make it consistent.

The database field is named with the lowercase version, and MySQL is case sensitive.

This may have been causing minor issues in multiple areas when attempting to join on gametype.
This commit is contained in:
Worros
2010-12-10 22:31:12 +08:00
parent b543d08d80
commit 7dd8b9de16
7 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ class HandInternal(DerivedStats):
def isDuplicate(self, session):
"""Checks if current hand already exists in db
siteHandNo ans gameTypeId have to be setted
siteHandNo ans gametypeId have to be setted
"""
return session.query(HandInternal).filter_by(
siteHandNo=self.siteHandNo, gametypeId=self.gametypeId).count()!=0