From 3cecab7699a921524d954e761ee6614c6289625d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 22 Apr 2014 15:08:49 +0000 Subject: Goodbye, Scotty, we will miss you --- lorrycontroller/status.py | 7 ------- templates/status.tpl | 2 -- 2 files changed, 9 deletions(-) diff --git a/lorrycontroller/status.py b/lorrycontroller/status.py index bd32e6b..5e011d5 100644 --- a/lorrycontroller/status.py +++ b/lorrycontroller/status.py @@ -28,15 +28,8 @@ class StatusRenderer(object): '''Helper class for rendering service status as JSON/HTML''' def get_status_as_dict(self, statedb, work_directory): - quotes = [ - "Never get drunk unless you're willing to pay for it - " - "the next day.", - "I'm giving her all she's got, Captain!", - ] - import random now = statedb.get_current_time() status = { - 'quote': '%s' % random.choice(quotes), 'running_queue': statedb.get_running_queue(), 'timestamp': time.strftime('%Y-%m-%d %H:%M:%S UTC', time.gmtime(now)), diff --git a/templates/status.tpl b/templates/status.tpl index 80f1ff7..e583883 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -107,8 +107,6 @@
-

Scotty says: {{quote}}

-

Updated: {{timestamp}}

-- cgit v1.2.1