Syntax change to make the code more "pythonyst"
This commit is contained in:
parent
d977cfb2ef
commit
7a7d60ce92
21 changed files with 138 additions and 137 deletions
|
|
@ -98,7 +98,7 @@ class subtitles_mux(devedeng.executor.executor):
|
|||
|
||||
def process_stderr(self,data):
|
||||
|
||||
if (data == None) or (len(data) == 0):
|
||||
if (data is None) or (len(data) == 0):
|
||||
return
|
||||
|
||||
if self.duration == 0:
|
||||
|
|
@ -114,4 +114,4 @@ class subtitles_mux(devedeng.executor.executor):
|
|||
self.progress_bar[1].set_fraction(t)
|
||||
self.progress_bar[1].set_text("%.1f%%" % (100.0 * t))
|
||||
|
||||
return
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue