From 277f3cf7602c7ab55baa6989bdcdb7b02eb5657b Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Mon, 27 Oct 2014 17:52:42 +0000 Subject: [PATCH] Random fixes --- orchestra/apps/systemusers/backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestra/apps/systemusers/backends.py b/orchestra/apps/systemusers/backends.py index 89b9c561..363c5176 100644 --- a/orchestra/apps/systemusers/backends.py +++ b/orchestra/apps/systemusers/backends.py @@ -129,7 +129,7 @@ class FTPTraffic(ServiceMonitor): def get_context(self, user): return { '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, 'username': user.username, }