bugfix + betty screenshots
This commit is contained in:
@@ -41,6 +41,9 @@ inaccuracies or bugs (please report!)
|
||||
- Simulating account balance with day granularity
|
||||
- Plotting results using PyPlot
|
||||
|
||||

|
||||

|
||||
|
||||
## Dependencies
|
||||
|
||||
The script uses NumPy, MatPlotLib and Pandas for plotting. This may be improved in a future version
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
+1
-1
@@ -257,7 +257,7 @@ class MonthlyIncome(AIncome):
|
||||
self.ended = True
|
||||
topay = self.remains
|
||||
self.remains = 0
|
||||
return topay
|
||||
return topay if self.monthly > 0 else -topay
|
||||
self.remains -= abs(self.monthly)
|
||||
else:
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user