We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ad9e4 commit 11c421aCopy full SHA for 11c421a
tools/actionProxy/invoke.py
@@ -101,7 +101,7 @@ def init(args):
101
contents = fp.read()
102
contents = str(base64.b64encode(contents), 'utf-8')
103
binary = True
104
- elif artifact is not '':
+ elif artifact != '':
105
with(codecs.open(artifact, 'r', 'utf-8')) as fp:
106
107
binary = False
@@ -122,7 +122,7 @@ def init(args):
122
123
print(r.text)
124
125
- if r.status_code == 200 and args.run is not None:
+ if r.status_code == 200 and args.run != None:
126
runArgs = objectify({})
127
runArgs.__dict__ = args.__dict__.copy()
128
runArgs.payload = args.run
0 commit comments