ShelterPMS plugin fixed
This commit is contained in:
@@ -56,6 +56,9 @@ class PMSIntegrationManager:
|
||||
if pms_name == "ecvi_intermark" or pms_name == "ecvi":
|
||||
from pms_integration.plugins.ecvi_pms import EcviPMSPlugin
|
||||
self.plugin = EcviPMSPlugin(self.hotel)
|
||||
elif pms_name == "shelter" or pms_name == "shelter":
|
||||
from pms_integration.plugins.shelter_pms import ShelterPMSPlugin
|
||||
self.plugin = ShelterPMSPlugin(self.hotel)
|
||||
else:
|
||||
raise ValueError(f"Неизвестный PMS: {pms_name}")
|
||||
def fetch_data(self):
|
||||
|
||||
Reference in New Issue
Block a user