Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
175
Issues
175
List
Boards
Labels
Milestones
Merge Requests
48
Merge Requests
48
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
1121988f
Commit
1121988f
authored
Dec 06, 2016
by
Vincent Ardisson
Committed by
Romain Bignon
Jan 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[spirica] fix obj_investments from iter_history
The investements were simply not returned
parent
4aafce01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/spirica/pages.py
modules/spirica/pages.py
+2
-1
No files found.
modules/spirica/pages.py
View file @
1121988f
...
...
@@ -208,4 +208,5 @@ class DetailsPage(LoggedPage, HTMLPage):
def
obj_investments
(
self
):
investments
=
[]
for
table
in
self
.
el
.
xpath
(
'./following-sibling::tr[1]//span[contains(text(), "ISIN")]/ancestor::table[1]'
):
investments
=
sum
([
investments
,
list
(
TableTransactionsInvestment
(
self
.
page
,
el
=
table
)())],
[])
investments
.
extend
(
TableTransactionsInvestment
(
self
.
page
,
el
=
table
)())
return
investments
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment