Skip to content

Commit 487dbd1

Browse files
committed
Fix struct access to the migration.
1 parent 90aa506 commit 487dbd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

djangonaut.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ call_command('migrate')
12681268
(when migration
12691269
;; FIXME: Copy-pasted from `djangonaut-find-file-and-line'.
12701270
(let* ((value (caar migration))
1271-
(lineno (cadr migration)))
1271+
(lineno (cdar migration)))
12721272
(apply #'find-file (pythonic-emacs-readable-file-name value) nil)
12731273
(goto-char (point-min))
12741274
(forward-line lineno)
@@ -1283,7 +1283,7 @@ call_command('migrate')
12831283
(when migration
12841284
;; FIXME: Copy-pasted from `djangonaut-find-file-and-line'.
12851285
(let* ((value (caar migration))
1286-
(lineno (cadr migration)))
1286+
(lineno (cdar migration)))
12871287
(apply #'find-file (pythonic-emacs-readable-file-name value) nil)
12881288
(goto-char (point-min))
12891289
(forward-line lineno)

0 commit comments

Comments
 (0)