@@ -1143,7 +1143,7 @@ def check26_htmlview(self):
1143
1143
#self.append_text("\n")
1144
1144
1145
1145
def check27_googlemapkml (self ):
1146
- '''GoogleMapKML - Needs Google Earth Desktop Program installed to view locations
1146
+ r '''GoogleMapKML - Needs Google Earth Desktop Program installed to view locations
1147
1147
1148
1148
https://www.google.com/earth/desktop/
1149
1149
[x]Google Earth Standard:
@@ -1181,23 +1181,23 @@ def check27_googlemapkml(self):
1181
1181
_GOOGLEEARTH_OK = False
1182
1182
_GOOGLEEARTH_STATUS = "Not found."
1183
1183
if os .sys .platform == 'win32' :
1184
- FILE_PATH = '"%s\Google\Google Earth\googleearth.exe"' \
1184
+ FILE_PATH = r '"%s\Google\Google Earth\googleearth.exe"' \
1185
1185
% (os .getenv ('ProgramFiles' ))
1186
1186
NORM_PATH = os .path .normpath (FILE_PATH )
1187
1187
_GOOGLEEARTH_OK = search_for (NORM_PATH )
1188
1188
_GOOGLEEARTH_STATUS = "Standard. found."
1189
1189
1190
1190
if not _GOOGLEEARTH_OK :
1191
1191
# For Win 7 with 32 Gramps
1192
- FILE_PATH = '"%s\Google\Google Earth\client\googleearth.exe"' \
1192
+ FILE_PATH = r '"%s\Google\Google Earth\client\googleearth.exe"' \
1193
1193
% (os .getenv ('ProgramFiles' ))
1194
1194
NORM_PATH = os .path .normpath (FILE_PATH )
1195
1195
_GOOGLEEARTH_OK = search_for (NORM_PATH )
1196
1196
_GOOGLEEARTH_STATUS = "Standard. found2."
1197
1197
1198
1198
if not _GOOGLEEARTH_OK :
1199
1199
# For Win 7 with 64 Gramps, need to find path to 32 bits programs
1200
- FILE_PATH = '"%s\Google\Google Earth\client\googleearth.exe"' \
1200
+ FILE_PATH = r '"%s\Google\Google Earth\client\googleearth.exe"' \
1201
1201
% (os .getenv ('ProgramFiles(x86)' ))
1202
1202
NORM_PATH = os .path .normpath (FILE_PATH )
1203
1203
_GOOGLEEARTH_OK = search_for (NORM_PATH )
@@ -1570,7 +1570,8 @@ def intltool_version():
1570
1570
import subprocess
1571
1571
1572
1572
if sys .platform == 'win32' :
1573
- cmd = ["perl" , "-e print qx(intltool-update --version) =~ m/(\d+.\d+.\d+)/;" ]
1573
+ cmd = ["perl" , "-e print qx(intltool-update --version) =~ "
1574
+ r"m/(\d+.\d+.\d+)/;" ]
1574
1575
try :
1575
1576
ver , ret = subprocess .Popen (cmd ,stdout = subprocess .PIPE ,
1576
1577
stderr = subprocess .PIPE , shell = True ).communicate ()
0 commit comments