Fix enum parser

This commit is contained in:
Maksym Pavlenko
2017-01-12 14:16:48 -08:00
parent 7a8afeecbf
commit 802932cdd7
+1 -1
View File
@@ -182,7 +182,7 @@ namespace Podsync.Services.Storage
var propertyType = typeof(P);
if (propertyType.GetTypeInfo().IsEnum)
{
value = (P)Enum.Parse(propertyType, entry.Value);
value = (P)Enum.Parse(propertyType, entry.Value, true);
}
else
{