3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

exec: print a "Done" after executing code

This commit is contained in:
James Lu 2017-02-05 20:14:30 -08:00
parent dcacfb0c10
commit a3a5569156

View File

@ -32,6 +32,7 @@ def _exec(irc, source, args):
irc.getHostmask(source)) irc.getHostmask(source))
exec(args, globals(), locals()) exec(args, globals(), locals())
irc.reply("Done.")
utils.add_cmd(_exec, 'exec') utils.add_cmd(_exec, 'exec')
def _eval(irc, source, args): def _eval(irc, source, args):