Skip to content

Commit ec7ac09

Browse files
committed
fix raw gist link display
1 parent f350c20 commit ec7ac09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplegist/simplegist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def create(self, **args):
9696
response = {
9797
'l' : '%s/%s/%s' % (GIST_URL,self.username,r.json()['id']),
9898
'c' : '%s/%s.git' % (GIST_URL,r.json()['id']),
99-
'r' : '%s/%s/%s' % (GIST_URL, self.username,r.json()['files'][self.gist_name]['raw_url']),
99+
'r' : '%s' % (r.json()['files'][self.gist_name]['raw_url']),
100100
'i' : r.json()['id']
101101
}
102102

0 commit comments

Comments
 (0)