mirror of
https://github.com/libretro/libretro-database.git
synced 2026-11-07 11:06:04 -10:00
Remove Unused Variable
I removed an unused variable to address an LGTM recommendation (https://lgtm.com/projects/g/libretro/libretro-database/snapshot/8faf03bb3621f2c693208f2a4691f7af498f3b87/files/scripts/chtwrite.py?sort=name&dir=ASC&mode=heatmap#xbb66329666a7193b:1).
This commit is contained in:
1 parent
ca9a4bb8c5
commit
365086dcac
1 file changed
-1
@@ -23,7 +23,6 @@ def cheatwriter( baseurl, chttype, outdir ):
|
||||
codedesc = [x.encode('UTF8') for x in tree.xpath('//td[@class="codedesc"]/text()')]
|
||||
#This will create a list of codes and format them for the outfile
|
||||
for td in tree.xpath('//tr/td[@class="code"][last()]'):
|
||||
hacker = td.text
|
||||
code.append('+'.join(
|
||||
text.replace('\n', '').replace(' ', '+') for text in td.getprevious().itertext()))
|
||||
|
||||
|
||||
Reference in new issue
Block a user