tracinginsights commited on
Commit
bc0973c
1 Parent(s): 29a25f9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -6
main.py CHANGED
@@ -1,9 +1,9 @@
1
- # from git import Repo
2
- # import os
3
 
4
- # GITHUB_PAT = os.environ['GITHUB']
5
 
6
- # if not os.path.exists('repo_directory'):
7
- # Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/fastf1api.git', 'repo_directory' )
8
 
9
- # from repo_directory import *
 
1
+ from git import Repo
2
+ import os
3
 
4
+ GITHUB_PAT = os.environ['GITHUB']
5
 
6
+ if not os.path.exists('repo_directory'):
7
+ Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/fastf1api.git', 'repo_directory' )
8
 
9
+ from repo_directory import *