File size: 368 Bytes
4730c65
 
 
 
 
 
 
 
 
 
7ec2c4d
 
4730c65
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from git import Repo
import os

GITHUB_PAT = os.environ['GITHUB']

if os.path.exists('repo_directory'):
    None
else:       
    return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory'  )
    
import repo_directory.app as app

# app.plot_circuits()
# app.plot_recent_overtakes()
# app.plot_full_season()