Skip to content

Commit

Permalink
Fix embed script for individual files
Browse files Browse the repository at this point in the history
  • Loading branch information
livibetter committed Feb 19, 2012
1 parent 72b9642 commit d17a274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gclist.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def upload(self, files, description=None, public=True):
print
print ' %s' % fname
print ' %s' % jret['files'][fname]['raw_url']
print ' <script src="https://gist.github.com/%s?%s"></script>' % (
print ' <script src="https://gist.github.com/%s.js?%s"></script>' % (
jret['id'],
urllib.urlencode({'file': fname}),
)
Expand Down

0 comments on commit d17a274

Please sign in to comment.