We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e856456 commit b28bbc4Copy full SHA for b28bbc4
1 file changed
github_deploy/main.py
@@ -17,13 +17,13 @@ def list_commands(self, ctx):
17
def get_command(self, ctx, name):
18
ns = {}
19
fn = os.path.join(plugin_folder, name + '.py')
20
-
+
21
if os.path.exists(fn):
22
with open(fn) as f:
23
code = compile(f.read(), fn, 'exec')
24
eval(code, ns, ns)
25
return ns['main']
26
27
ctx.fail("Invalid Command: {name}".format(name=name))
28
29
0 commit comments