Skip to content

Commit 89f0fc9

Browse files
committed
needs second element now
1 parent 7423db2 commit 89f0fc9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ def get_keys(filename, import_base=None):
4242

4343
# extract cites
4444
keys = set()
45-
cites = re.findall("\\\\\(no\)?citeA?\\{([^\\}]+)\\}", content)
45+
cites = re.findall("\\\\(no)?citeA?\\{([^\\}]+)\\}", content)
4646
for key in cites:
47-
keys |= set(key.split(","))
48-
47+
keys |= set(key[1].split(","))
4948
# find inputs/include and recursively parse them
5049
inputs = re.findall("\\\\(?:input|include)\\{([^\\}]+)\\}", content)
5150
for f in inputs:

0 commit comments

Comments
 (0)