From 5a89c00ac8dfd21623faa434e95947622e22ac41 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sun, 16 Sep 2012 19:12:31 -0400 Subject: [PATCH] Remove spaces from default plugin config filename --- MediaBrowser.Common/Plugins/BasePlugin.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.cs index a700326861..5740d04922 100644 --- a/MediaBrowser.Common/Plugins/BasePlugin.cs +++ b/MediaBrowser.Common/Plugins/BasePlugin.cs @@ -1,8 +1,8 @@ -using System; -using System.IO; -using MediaBrowser.Common.Kernel; +using MediaBrowser.Common.Kernel; using MediaBrowser.Common.Serialization; using MediaBrowser.Model.Plugins; +using System; +using System.IO; namespace MediaBrowser.Common.Plugins { @@ -110,7 +110,13 @@ namespace MediaBrowser.Common.Plugins /// /// Gets the name of the configuration file. Subclasses should override /// - public virtual string ConfigurationFileName { get { return Name + ".xml"; } } + public virtual string ConfigurationFileName + { + get + { + return Name.Replace(" ", string.Empty) + ".xml"; + } + } /// /// Gets the full path to the configuration file