From 20ab54aac9e832bbc9e14ced03efddca8247780b Mon Sep 17 00:00:00 2001 From: max-wittig Date: Tue, 17 Jan 2017 11:46:13 +0100 Subject: [PATCH] remove testing code --- src/com/maxwittig/reportgenerator/main/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/maxwittig/reportgenerator/main/Main.kt b/src/com/maxwittig/reportgenerator/main/Main.kt index 797622a..eba9156 100644 --- a/src/com/maxwittig/reportgenerator/main/Main.kt +++ b/src/com/maxwittig/reportgenerator/main/Main.kt @@ -31,7 +31,7 @@ fun main(args: Array) val settings = parser.getSettings() val mailSender = MailHandler(settings) val timekeeperParser = TimekeeperParser(timekeeperFile) - val reportType = ReportType.MONTHLY //ReportType.getCurrentReportType(settings.weeklyReportEnabled, settings.monthlyReportEnabled) + val reportType = ReportType.getCurrentReportType(settings.weeklyReportEnabled, settings.monthlyReportEnabled) if (mailType == MailType.PLAIN) { val reportBuilder = PlainTextReportBuilder(timekeeperParser.getTasks(), reportType)