mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-29 11:51:14 +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):
|
class ProdosHeader(Dos33Header):
|
||||||
file_format = "ProDOS"
|
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):
|
def read_header(self):
|
||||||
self.header = ProdosHeader()
|
self.header = ProdosHeader()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user