mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 18:44:53 +01:00
bitwarden
This commit is contained in:
@@ -10,7 +10,9 @@ import getopt
|
|||||||
from ffmpeg_progress_yield import FfmpegProgress
|
from ffmpeg_progress_yield import FfmpegProgress
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
import filedate
|
import filedate
|
||||||
|
def d_print(msg):
|
||||||
|
if _TEST:
|
||||||
|
print(msg)
|
||||||
|
|
||||||
if sys.platform == "linux" or sys.platform == "linux2":
|
if sys.platform == "linux" or sys.platform == "linux2":
|
||||||
# linux
|
# linux
|
||||||
@@ -231,13 +233,14 @@ if _ACTION == "join":
|
|||||||
os.remove(export_name)
|
os.remove(export_name)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
d_print("Running commad")
|
||||||
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
|
proc = subprocess.Popen(myCmd,stdout=subprocess.DEVNULL,stderr=subprocess.STDOUT)
|
||||||
# with tqdm(total=100, position=1, desc="Convert") as pbar:
|
# with tqdm(total=100, position=1, desc="Convert") as pbar:
|
||||||
# for progress in ff.run_command_with_progress():
|
# for progress in ff.run_command_with_progress():
|
||||||
# pbar.update(progress - pbar.n)
|
# pbar.update(progress - pbar.n)
|
||||||
|
|
||||||
cur_stat = 0
|
cur_stat = 0
|
||||||
|
d_print("Running commad2")
|
||||||
with tqdm(total=100, position=1, desc="Join") as pbar:
|
with tqdm(total=100, position=1, desc="Join") as pbar:
|
||||||
position=0
|
position=0
|
||||||
while proc.returncode is None:
|
while proc.returncode is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user