Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
peter88213 committed Sep 29, 2024
1 parent 85d7b30 commit c7e4f5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
from mdnvlib.mdnov.mdnov_file import MdnovFile


class NovxService:
"""Getters and factory methods for novxlib model objects."""
class MdnovService:
"""Getters and factory methods for mdnov model objects."""

def get_novx_file_extension(self):
def get_mdnov_file_extension(self):
return MdnovFile.EXTENSION

def make_basic_element(self, **kwargs):
Expand Down
6 changes: 3 additions & 3 deletions src/mdnvlib/model/nv_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
from mdnvlib.configuration.configuration import Configuration
from mdnvlib.model.moonphase import get_moon_phase_string
from mdnvlib.model.novel import Novel
from mdnvlib.model.novx_service import NovxService
from mdnvlib.model.mdnov_service import MdnovService
from mdnvlib.model.nv_treeview import NvTreeview


class NvService(NovxService):
"""Getters and factory methods for novxlib objects."""
class NvService(MdnovService):
"""Getters and factory methods for mdnovel objects."""

def get_moon_phase_str(self, isoDate):
return get_moon_phase_string(isoDate)
Expand Down

0 comments on commit c7e4f5b

Please # to comment.