Skip to content
Permalink
Browse files

Fix a code error in plexhelper

  • Loading branch information...
Cazzar committed Jan 4, 2019
1 parent 12758f2 commit 2fdecd1fc888e39dbd09536d7d046a8e8a7c3100
Showing with 1 addition and 2 deletions.
  1. +1 −2 Shoko.Server/Plex/PlexHelper.cs
@@ -259,8 +259,7 @@ private MediaDevice[] GetPlexDevices()
{
try
{
_plexMediaDevices = ((MediaContainer) serializer.Deserialize(reader)).Device;
return _plexMediaDevices;
return ((MediaContainer)serializer.Deserialize(reader)).Device ?? new MediaDevice[0];
}
catch
{

0 comments on commit 2fdecd1

Please sign in to comment.
You can’t perform that action at this time.