python-adfs
changeset 56:eaa19e1bbe18
Remove null bytes in disc titles for new format (E) disc images.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Sun Jul 20 17:29:22 2003 +0200 |
| parents | 459dbcfe5b1f |
| children | 6a2474543cf7 |
| files | ADFSlib.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/ADFSlib.py Sun Jul 20 00:32:44 2003 +0200 1.2 +++ b/ADFSlib.py Sun Jul 20 17:29:22 2003 +0200 1.3 @@ -126,7 +126,7 @@ 1.4 elif self.disc_type == 'adE': 1.5 1.6 # Read the disc name and map 1.7 - self.disc_name = self.read_disc_info() 1.8 + self.disc_name = self.safe(self.read_disc_info(), with_space = 1) 1.9 1.10 # Find the root directory name and all the files and directories 1.11 # contained within it 1.12 @@ -135,7 +135,7 @@ 1.13 elif self.disc_type == 'adEbig': 1.14 1.15 # Read the disc name and map 1.16 - self.disc_name = self.read_disc_info() 1.17 + self.disc_name = self.safe(self.read_disc_info(), with_space = 1) 1.18 1.19 # Find the root directory name and all the files and directories 1.20 # contained within it
