Skip to content

Commit 07c84b2

Browse files
committed
fix Python Requests
1 parent b7ae89f commit 07c84b2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/targets/python/requests.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ module.exports = function (source, options) {
2727

2828
// Construct query string
2929
if (source.queryString.length) {
30-
code.push('querystring = ' + JSON.stringify(source.queryObj))
30+
var qs = 'querystring = ' + JSON.stringify(source.queryObj)
31+
32+
code.push(qs)
3133
.blank()
3234
}
3335

0 commit comments

Comments
 (0)