separate by space
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Torma Kristóf 2020-10-02 00:25:12 +02:00
parent e3e7e82dca
commit 36887410af
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

2
app.py
View File

@ -9,7 +9,7 @@ def read_graph(graph_file: str = 'valos_halozat_formatted.txt') -> ig.Graph:
edges = int(f.readline())
result_graph: ig.Graph = ig.Graph(vertices)
for _ in range(edges):
line = f.readline().split('')
line = f.readline().split(' ')
result_graph.add_edge(int(line[0]), int(line[1]))
return result_graph