Skip to content

Commit

Permalink
Decouple CLI from repo try block
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Gonzalez authored and Nico Gonzalez committed May 22, 2020
1 parent 4719cb3 commit c246011
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/GitHub.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ def execute(self):
self.local_repo = Repo(config.get('LOCAL REPO', 'GITHUB_REPO'))
self.github_repo = (Github(config.get('GITHUB CREDENTIALS', 'GH_TOKEN'))
.get_repo(config.get('GITHUB CREDENTIALS', 'GH_REPO')))
self.cli()
except Exception as ex:
logging.error("Error initializing values from the configuration file. Please verify the entries are correct in ~/.demeter")
return

self.cli()

0 comments on commit c246011

Please sign in to comment.