mirror of
https://github.com/nophead/Mendel90.git
synced 2025-07-31 18:40:14 +02:00
add support for python 3.2 and 3.3, retain backward compatibility
This commit is contained in:
@@ -50,11 +50,11 @@ def plates(machine):
|
||||
if os.path.isfile(path):
|
||||
shutil.copy(path, target_dir + "/" + file)
|
||||
else:
|
||||
print "can't find %s to copy" % path
|
||||
print("can't find %s to copy" % path)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
plates(sys.argv[1])
|
||||
else:
|
||||
print "usage: plates [mendel|sturdy|your_machine]"
|
||||
print("usage: plates [mendel|sturdy|your_machine]")
|
||||
sys.exit(1)
|
||||
|
Reference in New Issue
Block a user