From de75c2671b5dd3ed2d215aeb8879425c92914e76 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 24 Nov 2016 16:51:15 +0800 Subject: [PATCH] Work around Snappy sandbox issues --- source/net/filebot/gio/PlatformGVFS.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/net/filebot/gio/PlatformGVFS.java b/source/net/filebot/gio/PlatformGVFS.java index b19d3bb3..6f6e2cc2 100644 --- a/source/net/filebot/gio/PlatformGVFS.java +++ b/source/net/filebot/gio/PlatformGVFS.java @@ -9,10 +9,6 @@ public class PlatformGVFS implements GVFS { private final File gvfs; public PlatformGVFS(File gvfs) { - if (gvfs.list() == null) { - throw new IllegalArgumentException(gvfs.getPath() + " is not a valid directory"); - } - this.gvfs = gvfs; }