I'm trying to get rid of two special character combinations from all my variables with strip. is there a better way to do this with a loop?
currentdisk = currentdisk.strip("└─")
currentdisk = currentdisk.strip("├─")
currentmpath = currentmpath.strip("└─")
currentmpath = currentmpath.strip("├─")
currentpartition = currentpartition.strip("└─")
currentpartition = currentpartition.strip("├─")
volumegroup = volumegroup.strip("└─")
volumegroup = volumegroup.strip("├─")
logicalvolume = logicalvolume.strip("└─")
logicalvolume = logicalvolume.strip("├─")
mountpoint = mountpoint.strip("└─")
mountpoint = mountpoint.strip("├─")