summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/python/gprinterdata3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/gprinterdata b/source3/python/gprinterdata
index cd04e6f5a1..52c6e42719 100755
--- a/source3/python/gprinterdata
+++ b/source3/python/gprinterdata
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys
-from gtkdictbrowser import GtkDictBrowser
+from gtkdictbrowser import GtkDictBrowser, hex_string
import gtk
import spoolss
import string
@@ -33,6 +33,7 @@ except:
# Create interface
db = GtkDictBrowser(t)
+db.register_get_value_text_fn("", hex_string)
db.build_ui('gprinterdata')
# Override Python's handling of ctrl-c so we can break out of the