From 6d2f1d64c9727219a9ed3c9a6fbef174e1eccb00 Mon Sep 17 00:00:00 2001 From: rajbharath Date: Tue, 31 Jan 2017 15:13:34 +0530 Subject: [PATCH] Raj | #5114 | Abstracted logic for fecthing file from report --- mangrove/datastore/report_config.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mangrove/datastore/report_config.py b/mangrove/datastore/report_config.py index b632933..d9c0a22 100644 --- a/mangrove/datastore/report_config.py +++ b/mangrove/datastore/report_config.py @@ -36,10 +36,7 @@ def name(self): def template(self): return self._get_attachment("index.html") - def stylesheet(self): - return self._get_attachment("styles.css") - - def font_file(self, file_name): + def file(self, file_name): return self._get_attachment(file_name) def _get_attachment(self, file_name):