mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-02-18 03:30:39 +00:00
Fixed some imports
This commit is contained in:
parent
3f40a914ea
commit
9f88cd22d2
@ -6,12 +6,14 @@ except ImportError:
|
|||||||
raise RuntimeError("atrcopy %s requires numpy" % __version__)
|
raise RuntimeError("atrcopy %s requires numpy" % __version__)
|
||||||
|
|
||||||
from errors import *
|
from errors import *
|
||||||
from diskimages import AtrHeader, BootDiskImage
|
|
||||||
from ataridos import AtariDosDiskImage, AtariDosFile
|
from ataridos import AtariDosDiskImage, AtariDosFile
|
||||||
|
from diskimages import AtrHeader, BootDiskImage
|
||||||
from kboot import KBootImage
|
from kboot import KBootImage
|
||||||
|
from segments import SegmentSaver, DefaultSegment, EmptySegment, ObjSegment, RawSectorsSegment, IndexedByteSegment
|
||||||
from spartados import SpartaDosDiskImage
|
from spartados import SpartaDosDiskImage
|
||||||
from utils import to_numpy
|
from utils import to_numpy
|
||||||
|
|
||||||
|
|
||||||
def process(image, dirent, options):
|
def process(image, dirent, options):
|
||||||
skip = False
|
skip = False
|
||||||
action = "copying to"
|
action = "copying to"
|
||||||
@ -108,5 +110,3 @@ def run():
|
|||||||
except ByteNotInFile166:
|
except ByteNotInFile166:
|
||||||
print "Invalid sector for: %s" % str(dirent)
|
print "Invalid sector for: %s" % str(dirent)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
run()
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from errors import *
|
from errors import *
|
||||||
|
from segments import EmptySegment, ObjSegment, RawSectorsSegment, IndexedByteSegment
|
||||||
from utils import to_numpy
|
from utils import to_numpy
|
||||||
|
|
||||||
class AtrHeader(object):
|
class AtrHeader(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user