typo - s/fileojb/fileobj/

Change-Id: I0869d9fcd19e74ce30bbb4fef51b710c41150a14
This commit is contained in:
Dominique Martinet 2018-10-04 16:29:26 +09:00
parent 058250d951
commit f63a381d0b
1 changed files with 2 additions and 2 deletions

View File

@ -512,9 +512,9 @@ class BaseDiffView(urwid.WidgetWrap, mywid.Searchable):
if file_key is None:
raise Exception("Comment is not associated with a file")
with self.app.db.getSession() as session:
fileojb = session.getFile(file_key)
fileobj = session.getFile(file_key)
account = session.getAccountByUsername(self.app.config.username)
comment = fileojb.createComment(None, account, None,
comment = fileobj.createComment(None, account, None,
datetime.datetime.utcnow(),
parent,
line_num, text, draft=True)