check_memory: oops, silly bug make 'upload' push to ourselves, raising the usage

This commit is contained in:
Brian Warner 2007-09-19 04:14:48 -07:00
parent 08cc32bb77
commit ee9b7fd678

View File

@ -215,7 +215,7 @@ this file are ignored.
f = open(os.path.join(clientdir, "debug_no_storage"), "w")
f.write("no_storage\n")
f.close()
if self.mode in ("upload-self"):
if self.mode == "upload-self":
f = open(os.path.join(clientdir, "push_to_ourselves"), "w")
f.write("push_to_ourselves\n")
f.close()