summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2018-10-16 10:58:25 -0400
committerLouis Vézina <[email protected]>2018-10-16 10:58:25 -0400
commit67b722cce14eb30192135897c4e04f56f6a56327 (patch)
tree79c6bdb19b2575be9b401d1ac423fe6c7b8e6b1c /bazarr.py
parent8a1dc9e275e3a8f09fb09fe0903c0eb5619c6e0c (diff)
downloadbazarr-67b722cce14eb30192135897c4e04f56f6a56327.tar.gz
bazarr-67b722cce14eb30192135897c4e04f56f6a56327.zip
Continuing development
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bazarr.py b/bazarr.py
index adc39d7bc..06c39ead2 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -20,14 +20,13 @@ for opt, arg in opts:
dir_name = os.path.dirname(__file__)
def start_bazarr():
- script = [sys.executable, os.path.normcase(os.path.join(globals()['dir_name'], 'bazarr/main.py'))] + globals()['arguments']
+ script = [sys.executable, "-u", os.path.normcase(os.path.join(globals()['dir_name'], 'bazarr/main.py'))] + globals()['arguments']
ep = sp.Popen(script, stdout=sp.PIPE, stderr=sp.STDOUT, stdin=sp.PIPE)
print "Bazarr starting..."
try:
for line in iter(ep.stdout.readline, ''):
sys.stdout.write(line)
- sys.stdout.flush()
except KeyboardInterrupt:
pass