mirror of
https://github.com/nophead/Mendel90.git
synced 2025-08-16 10:14:00 +02:00
add support for python 3.2 and 3.3, retain backward compatibility
This commit is contained in:
4
stls.py
4
stls.py
@@ -87,12 +87,12 @@ def stls(machine, parts = None):
|
||||
# List the ones we didn't find
|
||||
#
|
||||
for module in targets:
|
||||
print "Could not find", module
|
||||
print("Could not find", module)
|
||||
return used
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
stls(sys.argv[1], sys.argv[2:])
|
||||
else:
|
||||
print "usage: stls [mendel|sturdy|your_machine] [part.stl ...]"
|
||||
print("usage: stls [mendel|sturdy|your_machine] [part.stl ...]")
|
||||
sys.exit(1)
|
||||
|
Reference in New Issue
Block a user