Index: updateRules.py |
=================================================================== |
old mode 100644 |
new mode 100755 |
--- a/updateRules.py |
+++ b/updateRules.py |
@@ -255,17 +255,17 @@ def updateDomains(rules): |
# Fill up with "official" TLDs |
getTLDs(domains, -maxPriority) |
rules['domain'] = {} |
getSuffixes(rules['domain'], domains) |
def writeRules(rules): |
- path = os.path.join('defaults', 'typoRules.json') |
+ path = os.path.join('chrome', 'content', 'typoRules.json') |
file = codecs.open(path, 'rb', encoding='utf-8') |
data = file.read() |
file.close() |
marker = '// Automatically generated dictionaries' |
markerIndex = data.find(marker) |
if markerIndex < 0: |
raise Exception('Insertion marker not found in %s' % path) |