Skip to content

Commit

Permalink
Merge pull request #31 from openSUSE/fix-minor-issues
Browse files Browse the repository at this point in the history
Fix minor issues
  • Loading branch information
perlpunk authored Feb 1, 2024
2 parents 925579d + 133d170 commit 7134a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runs:
preview="preview.png"
echo "PREVIEW_NAME=$preview" >> "$GITHUB_ENV"
echo "PREVIEW_URL=https://$org.github.io/$repo$extra/$preview?v=$preview_date" >> "$GITHUB_ENV"
if [ "${{ env.BACKLOG_STATUS }}" -eq 0 ]; then
if [ "${{ env.BACKLOG_STATUS }}" == 0 ]; then
color="#55cc33"
else
color="#cc3333"
Expand Down
2 changes: 1 addition & 1 deletion backlogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def render_table(data):
return (all_good, rows, bad_queries)

def remove_project_part_from_url(url):
return(re.sub("projects\/.*\/", "", url))
return(re.sub("projects/.*/", "", url))

def cycle_time(issue, status_ids):
start = datetime.strptime(issue["created_on"], "%Y-%m-%dT%H:%M:%SZ")
Expand Down

0 comments on commit 7134a4c

Please sign in to comment.