From 0b612a1873501563147af50c6aa885806103c078 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 14 Feb 2019 22:10:24 +0530 Subject: [PATCH] python2/3 --- Open Media Library/Resources/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open Media Library/Resources/install.py b/Open Media Library/Resources/install.py index 57926c5..9fc4f0f 100755 --- a/Open Media Library/Resources/install.py +++ b/Open Media Library/Resources/install.py @@ -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]