Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored May 16, 2024
1 parent 4a04843 commit 331510a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class NewsSkill(OVOSCommonPlaybackSkill):
}

def __init__(self, *args, **kwargs):
self.supported_media = [MediaType.NEWS]
self.skill_icon = join(dirname(__file__), "ui", "news.png")
self.default_bg = join(dirname(__file__), "ui", "bg.jpg")
super().__init__(supported_media=[MediaType.NEWS],
skill_icon=join(dirname(__file__), "res", "news.png"),
*args, **kwargs)
self.default_bg = join(dirname(__file__), "res", "bg.jpg")
self.archive = JsonStorage(f"{dirname(__file__)}/News.json")
super().__init__(*args, **kwargs)

@classproperty
def runtime_requirements(self):
Expand Down

0 comments on commit 331510a

Please sign in to comment.