Skip to content

Commit

Permalink
minor bug fix to user plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Aranuvir authored and Aranuvir committed Mar 3, 2018
1 parent 1c7095e commit 686d979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makehuman/plugins/5_settings_userplugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def onClicked(event):
try:
shutil.copy2(filename, getpath.getPath('plugins'))
except OSError as e:
gui3d.app.prompt('Error', 'Failed to copy {0:s} to user plugins folder', 'OK')
gui3d.app.prompt('Error', 'Failed to copy {0:s} to user plugins folder'.format(filename), 'OK')
for child in self.userPluginBox.children:
self.userPluginBox.removeWidget(child)
updatePlugins = self.getUserPlugins()
Expand All @@ -164,7 +164,7 @@ def onClicked(event):
self.home = os.path.dirname(filename)

@self.reloadButton.mhEvent
def onClicked(event):
def onClicked(event):ma
for child in self.userPluginBox.children:
self.userPluginBox.removeWidget(child)
updatePlugins = self.getUserPlugins()
Expand Down

0 comments on commit 686d979

Please sign in to comment.