Przeglądaj źródła

fix: error message

version-14
Anupam 3 lat temu
committed by Leela vadlamudi
rodzic
commit
06667968ab
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      frappe/printing/doctype/network_printer_settings/network_printer_settings.py

+ 2
- 1
frappe/printing/doctype/network_printer_settings/network_printer_settings.py Wyświetl plik

@@ -12,7 +12,8 @@ class NetworkPrinterSettings(Document):
try:
import cups
except ImportError:
frappe.throw(_("This feature can not be used as dependencies are missing. Please contact your system manager to enable this by installing pycups!"))
frappe.throw(_('''This feature can not be used as dependencies are missing.
Please contact your system manager to enable this by installing pycups!'''))
return
try:
cups.setServer(self.server_ip)


Ładowanie…
Anuluj
Zapisz