mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
fix the line number
This commit is contained in:
parent
908760d3a9
commit
8c93241ef6
@ -41,7 +41,7 @@ for filename in files:
|
||||
for match in string_re.finditer(line):
|
||||
string = match.group(1)
|
||||
locations = strings.get(string, [])
|
||||
locations.append((os.path.basename(filename), line_num))
|
||||
locations.append((os.path.basename(filename), line_num + 1))
|
||||
strings[string] = locations
|
||||
keys = strings.keys()
|
||||
keys.sort()
|
||||
|
Loading…
x
Reference in New Issue
Block a user