From 331ac632015dd9c664e3e5315a91a355e6bf4f29 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 22 Mar 2013 13:16:00 +0000 Subject: [PATCH] * fix analytics issue that cause it to be disabled always --- source/net/sourceforge/filebot/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/Main.java b/source/net/sourceforge/filebot/Main.java index a95681a9..7ba66588 100644 --- a/source/net/sourceforge/filebot/Main.java +++ b/source/net/sourceforge/filebot/Main.java @@ -134,7 +134,7 @@ public class Main { } // initialize analytics - Analytics.setEnabled(System.getProperty("application.analytics") == null ? true : Boolean.getBoolean(System.getProperty("application.analytics"))); + Analytics.setEnabled(System.getProperty("application.analytics") == null ? true : Boolean.parseBoolean(System.getProperty("application.analytics"))); // CLI mode => run command-line interface and then exit if (args.runCLI()) {