diff --git a/extras/gfx.py b/extras/gfx.py index f13f23dbc..3c21f9809 100644 --- a/extras/gfx.py +++ b/extras/gfx.py @@ -21,10 +21,10 @@ def mkdir_p(path): """ try: os.makedirs(path) - except OSError as exc: # Python >2.5 - if exc.errno == errno.EEXIST: - pass - else: raise + except OSError as exc: # Python >2.5 + if exc.errno == errno.EEXIST: + pass + else: raise def hex_dump(input, debug = True):