summarylogtreecommitdiffstats
path: root/amar.py
diff options
context:
space:
mode:
authorElrondo462018-05-04 14:51:16 +0200
committerElrondo462018-05-04 14:51:16 +0200
commitcef41ab0d8cf94ad15ffb8405526a4cee48e4a4c (patch)
treeb2c023b43bbcf9a94661ebfb712118d3fa94e08e /amar.py
parent097833a7105236b111b163bedafcd5f5cf451c54 (diff)
downloadaur-cef41ab0d8cf94ad15ffb8405526a4cee48e4a4c.tar.gz
refix python script
Diffstat (limited to 'amar.py')
-rw-r--r--amar.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/amar.py b/amar.py
index 2c6c8fd1cbb8..46586a8c46b1 100644
--- a/amar.py
+++ b/amar.py
@@ -20,16 +20,7 @@ if sys.version_info[0] == 3:
else:
import tkMessageBox as messagebox
-if os.getuid() != 0:
- #correction de l'erreur de lancement
- os.system("xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' \
- -e 's#[A-Z_]*FOREGROUND# Black#' \
- -e 's#[A-Z_]*HIGHLIGHT# White#' \
- -e 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge")
-
- #os.system ("sudo -H python /usr/bin/amar.py")
- #print("Utiliser le script en tant qu'administrateur, lancer le avec 'gksudo -s python amar.py'")
- #sys.exit(1)
+os.system("xrdb -load /dev/null") #chargement des données avec xrdb
pacmanfichier = "/etc/pacman.conf"