Index: sitescripts/reports/web/updateReport.py |
=================================================================== |
--- a/sitescripts/reports/web/updateReport.py |
+++ b/sitescripts/reports/web/updateReport.py |
@@ -59,7 +59,7 @@ |
oldusefulness = reportData.get('usefulness', '0') |
reportData['usefulness'] = params.get('usefulness', '0') |
- if ('email' in reportData): |
+ if 'email' in reportData: |
updateUserUsefulness(getUserId(reportData['email']), reportData['usefulness'], oldusefulness) |
saveReport(guid, reportData) |