python-adfs
changeset 40:edbb8aea6b29
Moved the disc name check into the ADFSlib.py library.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Tue Apr 15 23:39:36 2003 +0200 |
| parents | 47c724665e5e |
| children | 1e7b537eb567 |
| files | ADF2INF.py |
| diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/ADF2INF.py Tue Apr 15 16:19:44 2003 +0200 1.2 +++ b/ADF2INF.py Tue Apr 15 23:39:36 2003 +0200 1.3 @@ -222,12 +222,10 @@ 1.4 # Make sure that the disc is put in a directory corresponding to the disc 1.5 # name where applicable. 1.6 1.7 - if use_name != 0 and adfsdisc.disc_name != '$': 1.8 + if use_name != 0: 1.9 1.10 - new_path = os.path.join(out_path, adfsdisc.disc_name) 1.11 - 1.12 # Place the output files on this new path. 1.13 - out_path = new_path 1.14 + out_path = os.path.join(out_path, adfsdisc.disc_name) 1.15 1.16 # Extract the files 1.17 adfsdisc.extract_files(out_path, adfsdisc.files, filetypes, separator)
