Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
01cda28
1
Parent(s):
26ed39a
syntax error fix
Browse files- Powers/plugins/utils.py +2 -1
Powers/plugins/utils.py
CHANGED
@@ -233,7 +233,8 @@ async def github(_, m: Message):
|
|
233 |
f"<b>™️ Organization:</b> <a href='https://github.com/{org_url}'>{company}</a>\n"
|
234 |
)
|
235 |
if blog:
|
236 |
-
|
|
|
237 |
if twitter:
|
238 |
REPLY += f"<b>⚜️ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a>\n"
|
239 |
if location:
|
|
|
233 |
f"<b>™️ Organization:</b> <a href='https://github.com/{org_url}'>{company}</a>\n"
|
234 |
)
|
235 |
if blog:
|
236 |
+
bname = blog.split(".")[-2]
|
237 |
+
REPLY += f"<b>📝 Blog:</b> <a href={blog}>{bname}</a>\n"
|
238 |
if twitter:
|
239 |
REPLY += f"<b>⚜️ Twitter:</b> <a href='https://twitter.com/{twitter}'>{twitter}</a>\n"
|
240 |
if location:
|