forgot about liveerror
parent
a198d29cc8
commit
c10724200f
|
@ -318,7 +318,8 @@ def process_badge_entry(oldname, v, comment_body):
|
||||||
if SITE == 'watchpeopledie.tv':
|
if SITE == 'watchpeopledie.tv':
|
||||||
from rclone_python import rclone
|
from rclone_python import rclone
|
||||||
def rclone_copy(filename):
|
def rclone_copy(filename):
|
||||||
rclone.copy(filename, 'no:/videos', ignore_existing=True, show_progress=True)
|
x = rclone.copy(filename, 'no:/videos', ignore_existing=True, show_progress=False)
|
||||||
|
print(filename, x, flush=True)
|
||||||
def rclone_delete(path):
|
def rclone_delete(path):
|
||||||
params = ("rclone", "deletefile", path)
|
params = ("rclone", "deletefile", path)
|
||||||
subprocess.run(params, check=True, timeout=30)
|
subprocess.run(params, check=True, timeout=30)
|
||||||
|
|
Loading…
Reference in New Issue