diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/drop-boxes/eln-lims-dropbox/eln-lims-dropbox.py b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/drop-boxes/eln-lims-dropbox/eln-lims-dropbox.py
index 129057a1740f1375b96666b234de8c991b7bf399..45db4f0ff5db961980b3a70fd37636dc52650cf1 100644
--- a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/drop-boxes/eln-lims-dropbox/eln-lims-dropbox.py
+++ b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/drop-boxes/eln-lims-dropbox/eln-lims-dropbox.py
@@ -231,7 +231,7 @@ def getFilesWithIllegalCharacters(folder):
         for f in files:
             result.extend(getFilesWithIllegalCharacters(f))
 
-    return False;
+    return result
 
 
 def getHiddenFiles(folder):