From 0814675d2a09136154ae9e04e41697a0662a8c5e Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 18 May 2013 17:28:25 +0200 Subject: [PATCH] Remove prints in clientscript --- couchpotato/core/_base/clientscript/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/couchpotato/core/_base/clientscript/main.py b/couchpotato/core/_base/clientscript/main.py index d3f07f80..323c2e4a 100644 --- a/couchpotato/core/_base/clientscript/main.py +++ b/couchpotato/core/_base/clientscript/main.py @@ -104,8 +104,6 @@ class ClientScript(Plugin): out_name = 'minified_' + out out = os.path.join(cache, out_name) - start = time.time() - raw = [] for file_path in files: f = open(file_path, 'r').read() @@ -121,15 +119,13 @@ class ClientScript(Plugin): raw.append({'file': file_path, 'date': int(os.path.getmtime(file_path)), 'data': data}) - print file_type, time.time() - start - # Combine all files together with some comments data = '' for r in raw: data += self.comment.get(file_type) % (r.get('file'), r.get('date')) data += r.get('data') + '\n\n' - self.createFile(out, ss(data.strip())) + self.createFile(out, data.strip()) if not self.minified.get(file_type): self.minified[file_type] = {}