Skip to content

Commit

Permalink
#198: suppress leading spaces of samples at Codeforces
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyk committed Nov 25, 2018
1 parent 8e4c1d4 commit e313d68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions onlinejudge/codeforces.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def download(self, session: Optional[requests.Session] = None) -> List[onlinejud
s += '\n'
else:
s += it.string
s = s.lstrip()
samples.add(s, title.string)
return samples.get()

Expand Down

0 comments on commit e313d68

Please sign in to comment.