From 783191e036ccceca78b8e41ad27e7cd349f7958c Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Mon, 05 Mar 2018 03:24:30 +0000
Subject: [PATCH] Updated to python 3
---
querysubsonic.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/querysubsonic.py b/querysubsonic.py
index 5b5e0fb..a3db939 100644
--- a/querysubsonic.py
+++ b/querysubsonic.py
@@ -62,10 +62,10 @@
if len(sys.argv) >= 2:
args = sys.argv[1]
else:
- print "I need an album name to lookup"
+ print("I need an album name to lookup")
sys.exit(1)
out = findalbumbyname(str(sys.argv[1]))
if out == True:
- print "Found: ",sys.argv[1]
+ print("Found: ",sys.argv[1])
else:
- print sys.argv[1], "not found on subsonic server"
+ print(sys.argv[1], "not found on subsonic server")
--
Gitblit v1.10.0