We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d78e5 commit 3ce3bafCopy full SHA for 3ce3baf
2 files changed
Dockerfile
@@ -19,4 +19,4 @@ ENV NAME=World
19
# Run app.py when the container launches
20
CMD ["python", "app.py"]
21
22
-#harbor.freshbrewed.science/library/pybsposter:0.0.3
+#harbor.freshbrewed.science/library/pybsposter:0.0.4
app.py
@@ -15,7 +15,7 @@ def handle_post():
15
# Calculate the total length of text and link
16
total_length = len(text) + len(link)
17
if total_length > 300:
18
- text = text[:(300 - len(link) - 3)] + "..." # Trim and add ellipsis
+ text = text[:(300 - len(link) - 4)] + "... " # Trim and add ellipsis
client = Client()
profile = client.login(username, password)
0 commit comments