Browse Source

typo - s/fileojb/fileobj/

Change-Id: I0869d9fcd19e74ce30bbb4fef51b710c41150a14
tags/1.6.0
Dominique Martinet 8 months ago
parent
commit
f63a381d0b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      gertty/view/diff.py

+ 2
- 2
gertty/view/diff.py View File

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

Loading…
Cancel
Save