From 2e7a1364fc7aa8ed01656146dc4c59e102239f07 Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Thu, 15 Apr 2021 16:20:19 +0000
Subject: [PATCH] Added the -u to all the python shebangs
---
querysubsonic.py | 2 +-
aaxConvert.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/aaxConvert.py b/aaxConvert.py
index 280a5cb..296e300 100755
--- a/aaxConvert.py
+++ b/aaxConvert.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/local/bin/python -u
import argparse
import os
import glob
@@ -183,4 +183,6 @@
movetochapters(single_file_path, ddir, schap, title, cstart,cend)
os.remove(single_file_path)
getcoverart(rfile, ddir)
+ else:
+ print('We have that book already')
diff --git a/querysubsonic.py b/querysubsonic.py
index 6cf631b..c5050c4 100755
--- a/querysubsonic.py
+++ b/querysubsonic.py
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/local/bin/python -u
## Eaxmple url
## https://subsonic.darkurthe.net/audiobooks/rest/getMusicFolders.view?u=testuser&t=0733b8e9889d7a9986d82764cee9db1c&s=O5kgRb6X5jFFbPSW&v=1.15.0&c=myapp&f=json
--
Gitblit v1.10.0