Spaces:
Sleeping
Sleeping
admin
commited on
Commit
·
492848a
1
Parent(s):
9d75477
fix
Browse files
src/modules/bitly-api.min.py
CHANGED
@@ -108,7 +108,7 @@ def shorten_and_generate_qr(api_key, text, shorten, generate_qr):
|
|
108 |
all_json_responses.append(shorten_response_json)
|
109 |
|
110 |
if shorten and shorten_url:
|
111 |
-
url_to_process = shorten_url
|
112 |
else:
|
113 |
url_to_process = url
|
114 |
|
|
|
108 |
all_json_responses.append(shorten_response_json)
|
109 |
|
110 |
if shorten and shorten_url:
|
111 |
+
url_to_process = 'https://' + shorten_url
|
112 |
else:
|
113 |
url_to_process = url
|
114 |
|