We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b73cd commit cfe1a14Copy full SHA for cfe1a14
fet_api_to_gcal/common/utils.py
@@ -145,6 +145,16 @@ def psuccess(text):
145
print(bcolors.OKGREEN + text + bcolors.ENDC)
146
147
148
+def success_str(text):
149
+ return "{} {} {}".format(bcolors.OKGREEN, text, bcolors.ENDC)
150
+
151
+def error_str(text):
152
+ return "{} {} {}".format(bcolors.FAIL, text, bcolors.ENDC)
153
154
+def info_str(text):
155
+ return "{} {} {}".format(bcolors.OKBLUE, text, bcolors.ENDC)
156
157
158
def check_google_calendar_id(google_cal_id):
159
"""utility to verify a google calendar id passed as a parameter.
160
0 commit comments