Skip to content

Commit 8c96007

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

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
@@ -23,8 +23,7 @@ class Plough(interface.External):
2323
def __init__(self, pinecard, theorycard, *args, **kwargs):
2424
super().__init__(pinecard, theorycard, *args, **kwargs)
2525
self.ps_link = self.source / PLOUGHSHARE_LINK_FILENAME
26-
with open(self.ps_link) as ps_link:
27-
self.link = ps_link.readline()
26+
self.link = self.ps_link.read_text()
2827

2928
self.filename = self.link.rsplit("/")[-1]
3029
self.dir_name = self.filename.rsplit(".", 1)[0]

0 commit comments

Comments
 (0)