Skip to content

Commit 1c1e0a5

Browse files
Update src/pinefarm/external/plough.py
Co-authored-by: Felix Hekhorn <[email protected]>
1 parent 3167c61 commit 1c1e0a5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pinefarm/external/plough.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Plough(interface.External):
1616
def __init__(self, pinecard, theorycard, *args, **kwargs):
1717
super().__init__(pinecard, theorycard, *args, **kwargs)
1818
self.ps_link = self.source/"ploughshare_link.txt"
19-
with open(self.ps_link) as ps_link:
20-
self.link = ps_link.readline()
19+
self.link = self.ps_link.read_text()
2120

2221
self.filename = self.link.rsplit('/')[-1]
2322
self.foldername = self.filename.rsplit('.', 1)[0]

0 commit comments

Comments
 (0)