From b277baa6ea50144e80841c52b7812ccbf90a4fd5 Mon Sep 17 00:00:00 2001 From: Halvor Holsten Strand Date: Mon, 2 Oct 2023 09:14:40 +0200 Subject: [PATCH] Update github_backup.py --- github_backup/github_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_backup/github_backup.py b/github_backup/github_backup.py index b05d1fb..bc42a20 100644 --- a/github_backup/github_backup.py +++ b/github_backup/github_backup.py @@ -498,7 +498,7 @@ def get_github_host(args): def read_file_contents(file_uri): - result = open(file_uri[len(FILE_URI_PREFIX) :], "rt").readline().strip() + return open(file_uri[len(FILE_URI_PREFIX) :], "rt").readline().strip() def get_github_repo_url(args, repository):