summarylogtreecommitdiffstats
path: root/Force-run-under-python2.patch
diff options
context:
space:
mode:
authorAlberto Fanjul2020-07-01 11:24:46 +0200
committerAlberto Fanjul2020-07-01 11:24:46 +0200
commit8e95cc34dc5b16cfe8c532afdc913d4897d4dd84 (patch)
treef70528ca7482dd43c5190fe8b03d772b407d0ede /Force-run-under-python2.patch
parent3017d094bd857a09eae25a5fb3dc69a01d018b75 (diff)
downloadaur-sjcam-git.tar.gz
Fix warnings and force python2
Diffstat (limited to 'Force-run-under-python2.patch')
-rw-r--r--Force-run-under-python2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/Force-run-under-python2.patch b/Force-run-under-python2.patch
new file mode 100644
index 000000000000..e9ef72af9668
--- /dev/null
+++ b/Force-run-under-python2.patch
@@ -0,0 +1,22 @@
+From 354e53021e7cd374f5cf24de603b976a25cb6976 Mon Sep 17 00:00:00 2001
+From: Alberto Fanjul <albertofanjul@gmail.com>
+Date: Wed, 1 Jul 2020 11:10:46 +0200
+Subject: [PATCH] Force run under python2
+
+---
+ sjcam | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sjcam b/sjcam
+index dac447d..72277eb 100755
+--- a/sjcam
++++ b/sjcam
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python2
+
+ # sjcam - SJCAM WiFi Camera CLI utility - control SJCAM sports cameras over WiFi connection
+ #
+--
+2.27.0
+