Materials: card reader, delete not needed variable

This commit is contained in:
Bernd Hahnebach
2019-06-08 22:35:26 +02:00
committed by GitHub
parent 36aa8e3b30
commit 4da861e8a7

View File

@@ -114,7 +114,6 @@ def read(filename):
f = pythonopen(filename)
d = {}
d["CardName"] = card_name_file # CardName is the MatCard file name
ln = 0
for ln, line in enumerate(f):
ln += 1 # enumerate starts with 0, but we would like to have the real line number
if line.startswith('#'):