Files
mini_projects/remount_checker/example_mount_points.py
Arthur Navi 98e5428b83 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
2024-11-05 23:56:38 +00:00

5 lines
129 B
Python

mount_points = [
# ('/mnt/external', 'mount /mnt/external'),
# ('/mnt/network_drive', 'cd /mnt; mount network_drive'),
]