Browse files

Properly disconnect idle students

  • Loading branch information...
1 parent f98b57d commit fa657d461d6a161d4b40da3efbe6d29404f0dd51 @eugeni committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 teacher.py
View
2 teacher.py
@@ -652,7 +652,7 @@ def monitor(self):
reject = False
if self.machines_status[addr] == "rejected":
reject = True
- self.disconnect(machine, reject)
+ self.disconnect(machine, reject=reject)
except:
self.logger.exception("Attempting to disconnect idle machine")
gobject.timeout_add(self.events_frequency, self.monitor)

0 comments on commit fa657d4

Please sign in to comment.