From 4679718cc2ec82913a7ad05cb9d4657a4166d5e9 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 16 Sep 2010 12:30:14 +0000 Subject: [PATCH] Fixed indent errors. svn: r15904 --- src/Utils.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Utils.py b/src/Utils.py index 6ccf68ecb..5fb3edb8a 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -339,17 +339,17 @@ def get_unicode_path(path): if constfunc.win(): # in windows filechooser returns officially utf-8, not filesystemencoding - try: - return unicode(path) - except: - LOG.warn("Problem encountered converting string: %s." % path) - return unicode(path, sys.getfilesystemencoding(), errors='replace') + try: + return unicode(path) + except: + LOG.warn("Problem encountered converting string: %s." % path) + return unicode(path, sys.getfilesystemencoding(), errors='replace') else: - try: - return unicode(path, sys.getfilesystemencoding()) - except: - LOG.warn("Problem encountered converting string: %s." % path) - return unicode(path, sys.getfilesystemencoding(), errors='replace') + try: + return unicode(path, sys.getfilesystemencoding()) + except: + LOG.warn("Problem encountered converting string: %s." % path) + return unicode(path, sys.getfilesystemencoding(), errors='replace') #------------------------------------------------------------------------- #