From 426cddf3962a22604df246a9bda109743eec5215 Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Sat, 14 Mar 2020 22:02:49 +0100
Subject: [PATCH] add env line

#!/usr/bin/env python3
---
 __main__.py           | 1 +
 deletelink.py         | 1 +
 githubcallback.py     | 1 +
 googlecallback.py     | 1 +
 grecaptcha_verify.py  | 1 +
 login.py              | 1 +
 makeqr.py             | 1 +
 newurl.py             | 1 +
 redirectShortenURL.py | 1 +
 userprofile.py        | 1 +
 10 files changed, 10 insertions(+)

diff --git a/__main__.py b/__main__.py
index 7b3d334..d093fe5 100644
--- a/__main__.py
+++ b/__main__.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from main import startup, app
 
 if(__name__ == "__main__"):
diff --git a/deletelink.py b/deletelink.py
index 10f8250..0a91afc 100644
--- a/deletelink.py
+++ b/deletelink.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from sqlite3 import connect
 from flask import redirect, abort
 
diff --git a/githubcallback.py b/githubcallback.py
index d23162f..133991c 100644
--- a/githubcallback.py
+++ b/githubcallback.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from flask import make_response, redirect
 from requests import post, get
 from json import loads #used for github oauth
diff --git a/googlecallback.py b/googlecallback.py
index f100d48..1187e68 100644
--- a/googlecallback.py
+++ b/googlecallback.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from flask import make_response, redirect
 from requests import post, get
 
diff --git a/grecaptcha_verify.py b/grecaptcha_verify.py
index 4895296..2c0e162 100644
--- a/grecaptcha_verify.py
+++ b/grecaptcha_verify.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from requests import post
 
 def grecaptcha_verify(request, skipCaptcha, recaptchaPrivateKey): #This function is used to verify the google recaptcha code, that is send to the server after submitting a new link
diff --git a/login.py b/login.py
index 30cd7e6..7b64d51 100644
--- a/login.py
+++ b/login.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from flask import redirect, render_template
 
 def login(request, GITHUB_CLIENT_ID, cookieNotice, GOOGLE_CLIENT_ID, url_scheme, domain):
diff --git a/makeqr.py b/makeqr.py
index f3c0d22..b3440dd 100644
--- a/makeqr.py
+++ b/makeqr.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from qrcode import QRCode, constants #Used to generate the QR
 from base64 import b64encode #Used to encode the generated QR as base64, to directly insert it into the HTML
 from io import BytesIO #Needed for base64 encoding of the image
diff --git a/newurl.py b/newurl.py
index 17f97e1..da9ce73 100644
--- a/newurl.py
+++ b/newurl.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from grecaptcha_verify import grecaptcha_verify
 from flask import render_template
 from sqlite3 import connect
diff --git a/redirectShortenURL.py b/redirectShortenURL.py
index bc72395..c0ee3b3 100644
--- a/redirectShortenURL.py
+++ b/redirectShortenURL.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from flask import redirect, abort
 from sqlite3 import connect
 
diff --git a/userprofile.py b/userprofile.py
index e934afd..f8685db 100644
--- a/userprofile.py
+++ b/userprofile.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
 from sqlite3 import connect
 from flask import redirect, abort, render_template
 from html import escape #This is used to escape characters, if they are send in the url
-- 
GitLab