Skip to content

Commit 3ce3baf

Browse files
committed
update app to 0.0.4 to add a space
1 parent e1d78e5 commit 3ce3baf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ ENV NAME=World
1919
# Run app.py when the container launches
2020
CMD ["python", "app.py"]
2121

22-
#harbor.freshbrewed.science/library/pybsposter:0.0.3
22+
#harbor.freshbrewed.science/library/pybsposter:0.0.4

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def handle_post():
1515
# Calculate the total length of text and link
1616
total_length = len(text) + len(link)
1717
if total_length > 300:
18-
text = text[:(300 - len(link) - 3)] + "..." # Trim and add ellipsis
18+
text = text[:(300 - len(link) - 4)] + "... " # Trim and add ellipsis
1919

2020
client = Client()
2121
profile = client.login(username, password)

0 commit comments

Comments
 (0)