Fixing tftproot configured for server as a relative path.

master
Michael P. Soulier 2009-04-07 17:22:37 -04:00
parent abf0f1fa15
commit d058642025
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class TftpServer(TftpSession):
self.listenip = None
self.listenport = None
self.sock = None
self.root = tftproot
self.root = os.path.abspath(tftproot)
# A dict of handlers, where each session is keyed by a string like
# ip:tid for the remote end.
self.handlers = {}