Random fixes

This commit is contained in:
Marc Aymerich 2014-10-27 17:52:42 +00:00
parent b5fbba012f
commit 277f3cf760
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ class FTPTraffic(ServiceMonitor):
def get_context(self, user): def get_context(self, user):
return { return {
'log_file': '%s{,.1}' % settings.SYSTEMUSERS_FTP_LOG_PATH, 'log_file': '%s{,.1}' % settings.SYSTEMUSERS_FTP_LOG_PATH,
'last_date': self.get_last_date(site.pk).strftime("%Y-%m-%d %H:%M:%S %Z"), 'last_date': self.get_last_date(user.pk).strftime("%Y-%m-%d %H:%M:%S %Z"),
'object_id': user.pk, 'object_id': user.pk,
'username': user.username, 'username': user.username,
} }