Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing journal entries when the value is 'None' #944

Merged
merged 8 commits into from
Nov 12, 2024
Merged

Conversation

Miauwkeru
Copy link
Contributor

@Miauwkeru Miauwkeru commented Nov 12, 2024

Credits to @h0ckeyst1ck

closes #736

h0ckeyst1ck and others added 8 commits July 12, 2024 14:20
A journal entry can contain fields with the string value None. 
Currently parsing to int fails as it only checks for None type and 
not None string.
The added comment explains previous change of also checking for stringy None in journal parsing

Co-authored-by: cecinestpasunepipe <[email protected]>
@Miauwkeru
Copy link
Contributor Author

moved code from #746 to here, where we can push to

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.03%. Comparing base (0f32b4e) to head (f9632f5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #944   +/-   ##
=======================================
  Coverage   77.03%   77.03%           
=======================================
  Files         322      322           
  Lines       27601    27603    +2     
=======================================
+ Hits        21263    21265    +2     
  Misses       6338     6338           
Flag Coverage Δ
unittests 77.03% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Miauwkeru Miauwkeru merged commit a75083f into main Nov 12, 2024
18 of 20 checks passed
@Miauwkeru Miauwkeru deleted the issue_736 branch November 12, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux images: ValueError: invalid literal for int() with base 10: 'None'
2 participants