summaryrefslogtreecommitdiff
path: root/gi/evaluation/entropy.py
diff options
context:
space:
mode:
Diffstat (limited to 'gi/evaluation/entropy.py')
-rw-r--r--gi/evaluation/entropy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/evaluation/entropy.py b/gi/evaluation/entropy.py
index cef0dbb4..ec1ef502 100644
--- a/gi/evaluation/entropy.py
+++ b/gi/evaluation/entropy.py
@@ -26,8 +26,8 @@ for line in infile:
tag = part.split(':',1)[1]
if slash_threshold == None or tag.count('/') + tag.count('\\') <= slash_threshold:
- frequencies.setdefault(gtag, 0)
- frequencies[gtag] += 1
+ frequencies.setdefault(tag, 0)
+ frequencies[tag] += 1
N += 1
h = 0