Skip to content

Commit

Permalink
apio upload: Fixed a bug when uploading with tinyfpga
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 18, 2024
1 parent 3c52b69 commit 6a1300e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apio/managers/scons.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ def _on_stderr(line: str):
# -- Match outputs like these " 97%|█████████▋| "
# -- Regular expression remainder:
# -- \s --> Match one blank space
# -- \d{2} one or two decimal digits
pattern_tinyprog = r"\s\d{2}%\|█*\s+\|\s"
# -- \d{1,3} one, two or three decimal digits
pattern_tinyprog = r"\s\d{1,3}%\|█*"

# -- Calculate if there is a match
match_tinyprog = re.search(pattern_tinyprog, line)
Expand Down

0 comments on commit 6a1300e

Please sign in to comment.