Fixed ditto marks appearing in ae7q call

Fixes #151
This commit is contained in:
Abigail Gold 2020-01-04 15:40:40 -05:00
parent c7d0a85464
commit 9552a7f6d4
No known key found for this signature in database
GPG Key ID: CF88335E873C3FB4
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Fixed
- Fixed ditto marks (") appearing in the ae7q call command.
## [v2.1.0] - 2020-01-04 ## [v2.1.0] - 2020-01-04

View File

@ -86,7 +86,7 @@ class AE7QCog(commands.Cog):
row_cells.append(row_cells[-1]) row_cells.append(row_cells[-1])
for i, cell in enumerate(row_cells): for i, cell in enumerate(row_cells):
if cell == '"': if cell == '"':
cell = table_contents[-1][i] row_cells[i] = table_contents[-1][i]
if len(row_cells) > 1: if len(row_cells) > 1:
table_contents += [row_cells] table_contents += [row_cells]