python2/3
This commit is contained in:
parent
e8c8356dc9
commit
0b612a1873
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from __future__ import division, with_statement
|
||||
from __future__ import division, with_statement, print_function
|
||||
|
||||
from contextlib import closing
|
||||
import json
|
||||
|
@ -140,7 +140,7 @@ if __name__ == '__main__':
|
|||
if len(sys.argv) == 1:
|
||||
target = os.path.expanduser("~/Library/Application Support/Open Media Library")
|
||||
elif len(sys.argv) != 2:
|
||||
print "usage: %s [target]" % sys.argv[0]
|
||||
print("usage: %s [target]" % sys.argv[0])
|
||||
sys.exit(1)
|
||||
else:
|
||||
target = sys.argv[1]
|
||||
|
|
Loading…
Reference in a new issue