projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d6892
)
Switch back to is.gd
author
Charles Connell
<charles@connells.org>
Mon, 23 Dec 2013 23:45:51 +0000
(18:45 -0500)
committer
Charles Connell
<charles@connells.org>
Mon, 23 Dec 2013 23:45:51 +0000
(18:45 -0500)
karmaworld/apps/notes/tasks.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/tasks.py
b/karmaworld/apps/notes/tasks.py
index 16cb43837e0f86b9daefdb654792e520cb9de6e6..aa631be99feeadf8eb616a6484efc11edc00b70f 100644
(file)
--- a/
karmaworld/apps/notes/tasks.py
+++ b/
karmaworld/apps/notes/tasks.py
@@
-43,8
+43,8
@@
def tweet_note():
def tweet_string(note):
- # This url will use 1
2
or less characters
- shortener = gdshortener.
V
GDShortener()
+ # This url will use 1
3
or less characters
+ shortener = gdshortener.
IS
GDShortener()
url = "https://www.karmanotes.org" + \
note.get_absolute_url()
short_url = shortener.shorten(url)[0]
@@
-63,7
+63,7
@@
def tweet_string(note):
# space and colon characters
# 57 characters
- short_note = note.name[:5
8
]
+ short_note = note.name[:5
7
]
return short_url + " #" + short_school + " " + \
short_course + ": " + \