mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
supybot-botchk: Fix Python 3 compatibility.
This commit is contained in:
parent
774158f2ec
commit
9e4c804d24
@ -129,7 +129,8 @@ if __name__ == '__main__':
|
||||
filename = os.path.join(home, filename)
|
||||
if os.path.exists(filename):
|
||||
debug('Found %s, sourcing.' % filename)
|
||||
inst.stdin.write('source %s' % filename + os.linesep)
|
||||
command = 'source %s' % filename + os.linesep
|
||||
inst.stdin.write(command.encode('utf-8'))
|
||||
cmdline = '%s --daemon %s' % (options.supybot, options.conffile)
|
||||
debug('Sending cmdline to sh process.')
|
||||
inst.stdin.write(cmdline.encode('utf-8') + os.linesep.encode('utf-8'))
|
||||
|
Loading…
Reference in New Issue
Block a user