1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed faulty import of predefined rules

This commit is contained in:
Krateng 2019-12-29 19:29:11 +01:00
parent a4abf383a6
commit 137da60ab9

View File

@ -853,7 +853,7 @@ def import_rulemodule(**keys):
os.remove(datadir("rules/" + filename + ".tsv")) os.remove(datadir("rules/" + filename + ".tsv"))
else: else:
log("Importing predefined rulefile " + filename) log("Importing predefined rulefile " + filename)
os.symlink(datadir("predefined/" + filename + ".tsv"),datadir("rules/" + filename + ".tsv")) os.symlink(datadir("rules/predefined/" + filename + ".tsv"),datadir("rules/" + filename + ".tsv"))