Adjusted bundled Cura plugin to not define already defined folder paths again, now included automatically
This commit is contained in:
parent
2324a1bf0e
commit
bb7aa6544f
1 changed files with 0 additions and 8 deletions
|
|
@ -138,10 +138,6 @@ class CuraPlugin(octoprint.plugin.SlicerPlugin,
|
|||
|
||||
##~~ AssetPlugin API
|
||||
|
||||
def get_asset_folder(self):
|
||||
import os
|
||||
return os.path.join(os.path.dirname(os.path.realpath(__file__)), "static")
|
||||
|
||||
def get_assets(self):
|
||||
return {
|
||||
"js": ["js/cura.js"],
|
||||
|
|
@ -180,10 +176,6 @@ class CuraPlugin(octoprint.plugin.SlicerPlugin,
|
|||
_settings=dict(name="Cura", custom_bindings=True)
|
||||
)
|
||||
|
||||
def get_template_folder(self):
|
||||
import os
|
||||
return os.path.join(os.path.dirname(os.path.realpath(__file__)), "templates")
|
||||
|
||||
##~~ SlicerPlugin API
|
||||
|
||||
def is_slicer_configured(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue