From ce359bf66172ad2658d2599ea7cb978488eb22d9 Mon Sep 17 00:00:00 2001 From: "daniel.halling@outlook.com" Date: Tue, 3 Apr 2018 20:25:46 +0200 Subject: [PATCH] fixed access to vers --- updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.py b/updater.py index e44a777..9d875ef 100755 --- a/updater.py +++ b/updater.py @@ -1,7 +1,7 @@ #!/usr/bin/python import os, sys os.chdir("/home/pi/airiana/") -os.system("wget -q -O ./RAM/VERS http://lappy.asuscomm.com:443/current_version") +os.system("sudo wget -q -O ./RAM/VERS http://lappy.asuscomm.com:443/current_version") ver = os.popen("cat ./RAM/VERS").read() ver = ver.split(" ") tmp = os.popen("head airiana-core.py").readlines()