7 lines
257 B
Python
7 lines
257 B
Python
import shutil
|
|
import os
|
|
BROADCASTER_DEFAULT_DIR = '/media/pstruebi/2C93-FED6'
|
|
|
|
def copy_to_broadcaster(filepath, broadcaster_dir = BROADCASTER_DEFAULT_DIR):
|
|
filename = os.path.basename(filepath)
|
|
shutil.copy(filepath, f'{broadcaster_dir}/{filename}') |