Browse Source

fix: error message

version-14
Anupam 3 years ago
committed by Leela vadlamudi
parent
commit
06667968ab
1 changed files with 2 additions and 1 deletions
  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 View File

@@ -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)


Loading…
Cancel
Save