Skip to content

Commit b86cf6b

Browse files
committed
fixup: syntax
1 parent 6005296 commit b86cf6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frog_wrapper.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def installdata(targetdir=None, frogdataversion=FROGDATAVERSION, uctodataversion
259259
if os.path.isdir(textcatpath):
260260
if os.system(f"cd {uctodir} && wget -O textcat.cfg https://raw.githubusercontent.com/LanguageMachines/ucto/master/config/textcat.cfg") != 0:
261261
raise Exception("Installation of textcat.cfg failed.")
262-
if textcatpath[-1] = '/': textcatpath = textcatpath[:-1]
262+
if textcatpath[-1] == '/': textcatpath = textcatpath[:-1]
263263
if textcatpath != "/usr/share/libexttextcat":
264264
data = open(f"{uctodir}/textcat.cfg",'r',encoding='utf-8').read()
265265
with open(f"{uctodir}/textcat.cfg",'w',encoding='utf-8').read()

0 commit comments

Comments
 (0)