aboutsummaryrefslogtreecommitdiffstats
path: root/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'base.py')
-rw-r--r--base.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/base.py b/base.py
index 80d1990..faadc6b 100644
--- a/base.py
+++ b/base.py
@@ -12,9 +12,12 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-import os, llfuse, errno, stat
+import os, errno, stat
+import llfuse
+
class LCOperations(llfuse.Operations):
_inode_list = None
+
def __init__(self):
super().__init__()
self._inode_list = [None, None]
@@ -23,6 +26,7 @@ class LCOperations(llfuse.Operations):
entry["parent_inode"] = parent_inode
entry["inode"] = len(self._inode_list)
entry["stat"] = stat.S_IFDIR if is_dir else stat.S_IFREG
+ entry["title"] = entry["title"].replace("/", chr(8260)) #⁄
self._inode_list.append(entry)
def _get_inode_by_parent(self, inode_p):