mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-25 16:32:07 +00:00
Gracefully handle ProDOS images by saying they aren't supported
This commit is contained in:
parent
58932b5bd7
commit
55fd4f00c6
@ -524,8 +524,14 @@ class Dos33DiskImage(DiskImageBase):
|
||||
class ProdosHeader(Dos33Header):
|
||||
file_format = "ProDOS"
|
||||
|
||||
def __str__(self):
|
||||
return "%s Disk Image (size=%d) THIS FORMAT IS NOT SUPPORTED YET!" % (self.file_format, self.image_size)
|
||||
|
||||
|
||||
class ProdosDiskImage(DiskImageBase):
|
||||
def __str__(self):
|
||||
return str(self.header)
|
||||
|
||||
class ProdosDiskImage(Dos33DiskImage):
|
||||
def read_header(self):
|
||||
self.header = ProdosHeader()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user