Loading .gitlab-ci.yml +3 −1 Changes for .gitlab-ci.yml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ default: before_script: - echo "$SERVER_ACCESS_KEY" > ~/.ssh/id_rsa - chmod 0600 ~/.ssh/id_rsa - pip install PyQt5 # TODO Remove this once development stabilizes - git clone https://gitlab.namibsun.net/namibsun/python/puffotter -b develop - cd puffotter - python setup.py install # TODO Remove this once development stabilizes - python setup.py install - cd .. - rm -rf puffotter Loading toktokkie/metadata/helper/functions.py +2 −2 Changes for toktokkie/metadata/helper/functions.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,11 +71,11 @@ def get_metadata_class(media_type: Union[str, MediaType]) -> Type[Metadata]: if type(media_type) == str: media_type = MediaType(media_type) return { # type: ignore return { Book.media_type(): Book, BookSeries.media_type(): BookSeries, TvSeries.media_type(): TvSeries, Movie.media_type(): Movie, VisualNovel.media_type(): VisualNovel, Manga.media_type(): Manga }[media_type] }[media_type] # type: ignore toktokkie/scripts/MetadataSetCommand.py +1 −1 Changes for toktokkie/scripts/MetadataSetCommand.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class MetadataSetCommand(Command): id_types = [x.value for x in IdType] subparser = parser.add_subparsers(required=True, dest="mode") subparser = parser.add_subparsers(dest="mode", required=True) multi_episode_parser = subparser.add_parser( "multi-episode", help="Add a multi-episode to a TV Series" Loading toktokkie/scripts/__init__.py +3 −1 Changes for toktokkie/scripts/__init__.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ from toktokkie.scripts.MangaCreateCommand import MangaCreateCommand from toktokkie.scripts.MangaUpdateCommand import MangaUpdateCommand from toktokkie.scripts.MetadataGenCommand import MetadataGenCommand from toktokkie.scripts.XdccUpdateCommand import XdccUpdateCommand from toktokkie.scripts.MetadataSetCommand import MetadataSetCommand try: from toktokkie.scripts.GuiCommand import GuiCommand Loading @@ -43,7 +44,8 @@ toktokkie_commands = [ MangaUpdateCommand, MangaCreateCommand, MetadataGenCommand, XdccUpdateCommand XdccUpdateCommand, MetadataSetCommand ] """ A list of commands for the toktokkie script Loading Loading
.gitlab-ci.yml +3 −1 Changes for .gitlab-ci.yml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ default: before_script: - echo "$SERVER_ACCESS_KEY" > ~/.ssh/id_rsa - chmod 0600 ~/.ssh/id_rsa - pip install PyQt5 # TODO Remove this once development stabilizes - git clone https://gitlab.namibsun.net/namibsun/python/puffotter -b develop - cd puffotter - python setup.py install # TODO Remove this once development stabilizes - python setup.py install - cd .. - rm -rf puffotter Loading
toktokkie/metadata/helper/functions.py +2 −2 Changes for toktokkie/metadata/helper/functions.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,11 +71,11 @@ def get_metadata_class(media_type: Union[str, MediaType]) -> Type[Metadata]: if type(media_type) == str: media_type = MediaType(media_type) return { # type: ignore return { Book.media_type(): Book, BookSeries.media_type(): BookSeries, TvSeries.media_type(): TvSeries, Movie.media_type(): Movie, VisualNovel.media_type(): VisualNovel, Manga.media_type(): Manga }[media_type] }[media_type] # type: ignore
toktokkie/scripts/MetadataSetCommand.py +1 −1 Changes for toktokkie/scripts/MetadataSetCommand.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class MetadataSetCommand(Command): id_types = [x.value for x in IdType] subparser = parser.add_subparsers(required=True, dest="mode") subparser = parser.add_subparsers(dest="mode", required=True) multi_episode_parser = subparser.add_parser( "multi-episode", help="Add a multi-episode to a TV Series" Loading
toktokkie/scripts/__init__.py +3 −1 Changes for toktokkie/scripts/__init__.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ from toktokkie.scripts.MangaCreateCommand import MangaCreateCommand from toktokkie.scripts.MangaUpdateCommand import MangaUpdateCommand from toktokkie.scripts.MetadataGenCommand import MetadataGenCommand from toktokkie.scripts.XdccUpdateCommand import XdccUpdateCommand from toktokkie.scripts.MetadataSetCommand import MetadataSetCommand try: from toktokkie.scripts.GuiCommand import GuiCommand Loading @@ -43,7 +44,8 @@ toktokkie_commands = [ MangaUpdateCommand, MangaCreateCommand, MetadataGenCommand, XdccUpdateCommand XdccUpdateCommand, MetadataSetCommand ] """ A list of commands for the toktokkie script Loading