fix major oops

This commit is contained in:
Marcos Pinto 2007-07-28 20:12:22 +00:00
parent 267ba8f7ac
commit a1534878c7

View File

@ -845,8 +845,7 @@ class Manager:
print "Applying preferences" print "Applying preferences"
for pref in PREF_FUNCTIONS: for pref in PREF_FUNCTIONS:
if PREF_FUNCTIONS[pref] is not None and self.get_pref("random_port") \ if PREF_FUNCTIONS[pref] is not None:
== False:
PREF_FUNCTIONS[pref](self.get_pref(pref)) PREF_FUNCTIONS[pref](self.get_pref(pref))
if self.get_pref("random_port"): if self.get_pref("random_port"):
import random import random