elif self.mode == self.mode_annotate and key == '\n':
if self.input_ == '':
self.input_ = ' '
- self.send('ANNOTATE %s %s %s' % (quote(self.password),
- self.explorer, quote(self.input_)))
+ self.send('ANNOTATE %s %s %s' % (self.explorer, quote(self.input_),
+ quote(self.password))
self.input_ = ""
self.switch_mode('study', keep_position=True)
elif self.mode == self.mode_portal and key == '\n':
if self.input_ == '':
self.input_ = ' '
- self.send('PORTAL %s %s %s' % (quote(self.password),
- self.explorer, quote(self.input_)))
+ self.send('PORTAL %s %s %s' % (self.explorer, quote(self.input_),
+ quote(self.password)))
self.input_ = ""
self.switch_mode('study', keep_position=True)
elif self.mode == self.mode_teleport and key == '\n':