cc-2263: unable to cancel recording show
-made cancelled recorded shows still upload.
This commit is contained in:
parent
62806fa7ef
commit
3416ba20d9
4 changed files with 57 additions and 53 deletions
|
@ -73,7 +73,7 @@ class ShowRecorder(Thread):
|
|||
|
||||
self.p = Popen(args)
|
||||
|
||||
#blocks at the following lines until the child process
|
||||
#blocks at the following line until the child process
|
||||
#quits
|
||||
code = self.p.wait()
|
||||
self.p = None
|
||||
|
@ -109,6 +109,7 @@ class ShowRecorder(Thread):
|
|||
code, filepath = self.record_show()
|
||||
|
||||
if code == 0:
|
||||
self.logger.info("Preparing to upload %s" % filepath)
|
||||
self.upload_file(filepath)
|
||||
else:
|
||||
self.logger.info("problem recording show")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue