removed rest api usage from muster module

This commit is contained in:
iLLiCiTiT 2021-03-12 11:35:26 +01:00
parent fe63883f96
commit 33a0742b3d

View file

@ -2,10 +2,13 @@ import os
import json
import appdirs
import requests
from .. import PypeModule, ITrayModule, IRestApi
from .. import (
PypeModule,
ITrayModule
)
class MusterModule(PypeModule, ITrayModule, IRestApi):
class MusterModule(PypeModule, ITrayModule):
"""
Module handling Muster Render credentials. This will display dialog
asking for user credentials for Muster if not already specified.
@ -71,14 +74,6 @@ class MusterModule(PypeModule, ITrayModule, IRestApi):
parent.addMenu(menu)
def rest_api_initialization(self, rest_api_module):
"""Implementation of IRestApi interface."""
def api_show_login():
self.action_show_login.trigger()
rest_api_module.register_callback(
"/show_login", api_show_login, "muster", "post"
)
def load_credentials(self):
"""
Get credentials from JSON file