This commit is contained in:
nikolark committed 2011-10-25 02:19:43 +02:00
1 parent 8cf4b4ddf3
commit 6836172e26
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ unset GID_DIR
git submodule foreach 'rm -rf .git/'
fi
rm -rf .git
echo "Copying contents of '$TMP_DIR' to '$DEPLOY_DIR'..."
cp -R $TMP_DIR/* $DEPLOY_DIR
rm -rf $TMP_DIR
} >> "$DIR/deploy.log"
+1 -1
View File
@@ -84,7 +84,7 @@ class ping:
import bitly_api
c = bitly_api.Connection(settings.BITLY_USERNAME,
settings.BITLY_API_KEY)
return c.shorten(url)
return c.shorten(url)['url']
else:
return url