src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py

branch
server
changeset 10561
be23a662d709
parent 10555
08e853c0c77b
child 10574
622e59b51640
diff -r 28b14d2df6a1 -r be23a662d709 src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py
--- a/src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py	Sat Feb 10 11:28:58 2024 +0100
+++ b/src/eric7/RemoteServerInterface/EricServerFileSystemInterface.py	Sun Feb 11 18:35:44 2024 +0100
@@ -263,6 +263,7 @@
         @type str or list of str
         @return flag indicating the user has the asked for permissions
         @rtype bool
+        @exception ValueError raised for an illegal modes list
         """
         if not modes:
             raise ValueError(
@@ -294,7 +295,7 @@
         self.__serverInterface.sendJson(
             category=EricRequestCategory.FileSystem,
             request="Access",
-            params={"name": name, "modes":modes},
+            params={"name": name, "modes": modes},
             callback=callback,
         )
 

eric ide

mercurial