Skip to content

Commit

Permalink
Fix import of mangadb in mangadb_plate
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Feb 21, 2020
1 parent 7069a41 commit 712a9c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This document records the main changes to the ``sdssdb`` code.

* Added ``archive`` database with ``sas`` schema.
* :bug:`18` Fixed Travis built after migration to using ``setup.cfg``.
* Fix import of ``mangadb`` schema in ``Plate.mangadb_plate``.

* :release:`0.3.0 <2019-09-23>`
* Removed ``TIC v6``.
Expand Down
2 changes: 1 addition & 1 deletion python/sdssdb/peewee/operationsdb/platedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class Plate(OperationsDBModel):
def mangadb_plate(self):
"""One-to-one backref for mangadb.plate.platedb_plate."""

from sdssdb.peewee.observatory import mangadb
from sdssdb.peewee.operationsdb import mangadb

return mangadb.Plate.get_or_none(platedb_plate_pk=self.pk)

Expand Down

0 comments on commit 712a9c5

Please sign in to comment.