Skip to content

Commit

Permalink
FIX: typo in local version of tifffile _replace_by
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Warner (Mac) committed Jun 8, 2015
1 parent 46057c4 commit f81dfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skimage/external/tifffile/tifffile_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@

from . import _tifffile

__version__ = '0.3.3'
__version__ = '0.3.4'
__docformat__ = 'restructuredtext en'
__all__ = ('imsave', 'imread', 'imshow', 'TiffFile', 'TiffWriter',
'TiffSequence')
Expand Down Expand Up @@ -3114,7 +3114,7 @@ def decorate(func, module_function=module_function, warn=warn):
full_name = modname
else:
full_name = package + '.' + modname
module = __import__(full_name, romlist=[modname])
module = __import__(full_name, fromlist=[modname])
func, oldfunc = getattr(module, function), func
globals()['__old_' + func.__name__] = oldfunc
except Exception:
Expand Down

0 comments on commit f81dfd8

Please sign in to comment.