From 6a193d3d28164f28ec1c067b40f5ae43ab18b18f Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 3 Jun 2014 20:40:31 +0000 Subject: [PATCH] remove stray g. --- python/magic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/magic.py b/python/magic.py index 3c7aa100..a17e8dad 100644 --- a/python/magic.py +++ b/python/magic.py @@ -139,7 +139,7 @@ class Magic(object): as a buffer or None if an error occurred and the MAGIC_ERROR flag is set. A call to errno() will return the numeric error code. """ - try: # attempt python3 approach firstg + try: # attempt python3 approach first return str(_buffer(self._magic_t, buf, len(buf)), 'utf-8') except: return _buffer(self._magic_t, buf, len(buf)) -- 2.50.1