diff --git a/utils/log.py b/utils/log.py index cd92a0b18..27f49254e 100644 --- a/utils/log.py +++ b/utils/log.py @@ -34,6 +34,8 @@ def user(u, msg): platform = 'FF' elif 'Opera' in user_agent: platform = 'Opera' + elif 'WP7' in user_agent: + platform = 'WP7' premium = '*' if u.is_authenticated() and u.profile.is_premium else '' username = cipher(u.__unicode__()) if settings.CIPHER_USERNAMES else u info(' ---> [~FB~SN%-6s~SB] [%s%s] %s' % (platform, username, premium, msg))