tracinginsights commited on
Commit
0495d99
·
1 Parent(s): 12a32d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,8 +1,11 @@
1
  from git import Repo
 
2
 
 
3
 
4
- #Repo.clone_from('https://tracinginsights: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@github.com/TracingInsights/Charts.git', 'repo_directory' )
5
- import repo_directory.app as app
 
6
 
7
 
8
  #import pygit2
 
1
  from git import Repo
2
+ import os
3
 
4
+ GITHUB_PAT = os.environ['GITHUB']
5
 
6
+
7
+ Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
8
+ import repo_directory
9
 
10
 
11
  #import pygit2