nettoyage de code (F841)
This commit is contained in:
parent
372de84443
commit
5d085ec381
@ -61,10 +61,6 @@ def interlaced(file, infos):
|
||||
TFF = int(line.split('TFF:')[1].split()[0])
|
||||
BFF = int(line.split('BFF:')[1].split()[0])
|
||||
Progressive = int(line.split('Progressive:')[1].split()[0])
|
||||
if "frame= " in line:
|
||||
total_frame = int(line.split()[1])
|
||||
elif "frame=" in line:
|
||||
total_frame = int(line.split()[0].split("=")[1])
|
||||
try:
|
||||
pct = ((TFF + BFF) / (TFF + BFF + Progressive)) * 100
|
||||
pct = round(pct)
|
||||
|
Loading…
Reference in New Issue
Block a user