standardize indent to tabs
This commit is contained in:
parent
61295a2a8a
commit
ea81768d1f
18
generate.py
18
generate.py
|
@ -5,15 +5,15 @@ from random import randint, random, choice
|
||||||
from choice_network import Choice, FixedText, RandInt, Network
|
from choice_network import Choice, FixedText, RandInt, Network
|
||||||
|
|
||||||
def get_names(filename):
|
def get_names(filename):
|
||||||
lines = []
|
lines = []
|
||||||
with open(filename) as file:
|
with open(filename) as file:
|
||||||
lines = file.read().split("\n")
|
lines = file.read().split("\n")
|
||||||
names = [
|
names = [
|
||||||
name + " "
|
name + " "
|
||||||
for name in lines
|
for name in lines
|
||||||
if len(name) > 1
|
if len(name) > 1
|
||||||
]
|
]
|
||||||
return names
|
return names
|
||||||
|
|
||||||
greeting = """
|
greeting = """
|
||||||
Englisch version below.
|
Englisch version below.
|
||||||
|
|
Loading…
Reference in a new issue