Fixed some imports

This commit is contained in:
Rob McMullen 2016-02-12 21:36:08 -08:00
parent 3f40a914ea
commit 9f88cd22d2
2 changed files with 5 additions and 4 deletions

View File

@ -6,12 +6,14 @@ except ImportError:
raise RuntimeError("atrcopy %s requires numpy" % __version__)
from errors import *
from diskimages import AtrHeader, BootDiskImage
from ataridos import AtariDosDiskImage, AtariDosFile
from diskimages import AtrHeader, BootDiskImage
from kboot import KBootImage
from segments import SegmentSaver, DefaultSegment, EmptySegment, ObjSegment, RawSectorsSegment, IndexedByteSegment
from spartados import SpartaDosDiskImage
from utils import to_numpy
def process(image, dirent, options):
skip = False
action = "copying to"
@ -108,5 +110,3 @@ def run():
except ByteNotInFile166:
print "Invalid sector for: %s" % str(dirent)
if __name__ == "__main__":
run()

View File

@ -1,6 +1,7 @@
import numpy as np
from errors import *
from segments import EmptySegment, ObjSegment, RawSectorsSegment, IndexedByteSegment
from utils import to_numpy
class AtrHeader(object):