Skip to content

Commit ef0d502

Browse files
authored
fix: allow backups to work again (#21)
1 parent 218dcc6 commit ef0d502

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

convert_readme.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@
116116

117117
else:
118118
line = re.sub(u' — ', ' - ', line)
119+
if 'int_data' not in locals():
120+
int_data = {}
119121
int_data['bonus'] = line
120122

121123
data['emails'].append(int_data) # Last case

0 commit comments

Comments
 (0)