Skip to content

Commit

Permalink
killed another bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ǝuıɥsuooɯ committed Nov 16, 2017
1 parent c224e46 commit 1467e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions octoprint_multi_colors/static/js/multi_colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ $(function() {
function(data){
new PNotify({title:"Colors", text:data.message, type: data.status});
self.filesViewModel.requestData({force:true});
if (data.status != "error" and !self.duplicate()) {
self.filesViewModel.loadFile({origin:"local", self.filename});
if (data.status != "error" && !self.duplicate()) {
self.filesViewModel.loadFile({origin:"local", path:self.filename});
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint MultiColors"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.0.10"
plugin_version = "1.0.11"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit 1467e0a

Please sign in to comment.