Handle starting linkulator when there is no user config file #82
No reviewers
Labels
No Label
bug
compatibility
documentation
duplicate
enhancement
future release
help wanted
invalid
non-code
question
refactor
testing
this release
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cmccabe/linkulator2#82
Loading…
Reference in New Issue
No description provided.
Delete Branch "handle-no-user-config-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #74
config.USER.lastlogin now has a default value to ensure that it can always be used even if there is no user configuration file.
Furthermore, ensures the value has the appropriate type to avoid type mismatch errors when comparing. Most time values in use are loaded from files, which means they are strings by default.
Includes tests, validated on Python 3.6, 3.7 and 3.8.