From 06b027ba37da004c1a458293855240ec931c05d3 Mon Sep 17 00:00:00 2001 From: renan028 Date: Mon, 1 Jun 2020 10:19:16 -0300 Subject: [PATCH] fix login by token --- insights.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/insights.py b/insights.py index 101115a..b100f9a 100644 --- a/insights.py +++ b/insights.py @@ -6,7 +6,7 @@ repos = ['MIRON-Components', 'MIRON-Systems', 'DomainModelsRepositories', 'MIRON-BehaviorRepository', - 'MIRON-DataRepository', 'Groot', 'MOOD2Be'] + 'MIRON-DataRepository'] unique_view = ['Unique Views'] total_view = ['Views Count'] @@ -15,8 +15,7 @@ if __name__ == "__main__": a = sys.argv[1] - b = sys.argv[2] - g = Github(a, b) + g = Github(a) for org in g.get_user().get_orgs(): if org.name == 'MiRoN': for r in repos: