Skip to content

Commit

Permalink
🐛 couple of fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Psychokiller1888 committed Oct 25, 2020
1 parent 150e63e commit b804c93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ProjectAliceSK/create/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,9 @@ def createWidgets(self):


def makeWidgets(self, skillWidgets: list):
if not skillWidgets:
return

print('Creating widgets base directories')
self.createDirectories([
'widgets/css',
Expand Down Expand Up @@ -514,6 +517,9 @@ def createScenarioNodes(self):


def makeScenarioNodes(self, skillNodes: list):
if not skillNodes:
return

print('Creating scenario nodes base directories')
self.createDirectories([f'scenarioNodes/locales/{lang}' for lang in self._general['langs']])

Expand Down
3 changes: 2 additions & 1 deletion ProjectAliceSK/create/templates/widget.py.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import sqlite3
from core.base.model.Widget import Widget
from core.base.model.Widget import WidgetSizes


class {{ widget }}(Widget):

SIZE = 'w_small'
SIZE = WidgetSizes.w_small
OPTIONS = dict()

def __init__(self, data: sqlite3.Row):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
name='projectalice-sk',
author='ProjectAlice',
version='1.9.3',
version='1.9.4',
maintainer='Psychokiller1888',
maintainer_email='[email protected]',
description='Project Alice skill kit',
Expand Down

0 comments on commit b804c93

Please sign in to comment.