Skip to content

Commit

Permalink
Bugfix UTF8 picture paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ymollard committed Aug 19, 2018
1 parent 06e35a6 commit 0ec83ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geoexif.py
Expand Up @@ -23,7 +23,7 @@ class GeoExif(object):
usefull for geolalisation scripts.
"""
def __init__(self,picture):
self.picPath=picture
self.picPath=picture.encode('utf8')
self.xmpOption=False
if self.xmpOption==True:
if os.path.basename(picture).find(".CRW")>0\
Expand Down

0 comments on commit 0ec83ce

Please sign in to comment.