diff --git a/lib/buttons.py b/lib/buttons.py index 96180a8..9aac99b 100644 --- a/lib/buttons.py +++ b/lib/buttons.py @@ -23,3 +23,14 @@ GITHUB_BUTTON_FOOTER = """ """ +def add_buttons(output): + """ + Add buttons to html output + """ + + return output.replace('', + (TWITTER_BUTTON + + GITHUB_BUTTON + + GITHUB_BUTTON_3 + + GITHUB_BUTTON_2 + + GITHUB_BUTTON_FOOTER) + '') diff --git a/lib/srv.py b/lib/wttr_srv.py similarity index 100% rename from lib/srv.py rename to lib/wttr_srv.py