I think this is a better example

I _think_ that maybe if you have a tuple of 1, it gets "unwrapped" in
some way to be just a singleton - or at least I was encountering a
bug along those lines...

(('/mnt/tmp', 'mount /mnt/tmp'))[0] == '/'
^ this is where my big was occuring, I think

It also could've been an issue with the printing - no idea.
Changing from a tuple to a list seems to be better
This commit is contained in:
2024-11-05 23:55:04 +00:00
parent 3a8b3789e2
commit 98e5428b83

View File

@@ -1,4 +1,4 @@
mount_points = (
# ('/mnt/external', 'mount /mnt/external')
# ('/mnt/network_drive', 'cd /mnt; mount network_drive')
)
mount_points = [
# ('/mnt/external', 'mount /mnt/external'),
# ('/mnt/network_drive', 'cd /mnt; mount network_drive'),
]