JOE FIGHT!
This commit is contained in:
10
Program1.py
10
Program1.py
@@ -2,6 +2,16 @@ from src.Functions_General import *
|
||||
from src.Functions_Energy_Model import *
|
||||
from src.Functions_Financial_Model import *
|
||||
from src.Functions_Load_Emulator_and_DSM import *
|
||||
import subprocess
|
||||
|
||||
config = yaml.safe_load(open("config.yml", 'r'))
|
||||
joe = config['joe_fight']
|
||||
if(joe == True):
|
||||
if shutil.which('ffplay') is not None:
|
||||
proc = subprocess.Popen(['ffplay', 'assets/joefight.mp4'])
|
||||
else:
|
||||
print("ffplay non installato, no joe fight.")
|
||||
|
||||
|
||||
generate_calendar()
|
||||
kill_excel_processes()
|
||||
|
||||
Reference in New Issue
Block a user