Skip to content

Have convert_time return the result instead of printing it #43

@bbelderbos

Description

@bbelderbos

https://github.com/PyBites-Open-Source/pybites-tools/blob/main/pybites_tools/worldclock.py

I think we should have convert_time return the result so we can use it in another module, then move the print to the if name == main block. I am hitting this issue where I want to use the function in another script (from pybites_tools.worldclock import convert_time)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions