From 17dc40c73e6682b7111e1a0b8f04b2fb9a9356b8 Mon Sep 17 00:00:00 2001 From: milisbir Date: Mon, 30 Oct 2017 15:02:00 +0200 Subject: [PATCH] talimat.py --- bin/talimat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/talimat.py b/bin/talimat.py index 8d0e9468c..645253f82 100755 --- a/bin/talimat.py +++ b/bin/talimat.py @@ -32,6 +32,10 @@ import shlex import urllib2 from requests.exceptions import HTTPError +if os.path.exists("/usr/lib/python2.7/site-packages/requests") is False: + print "request kurulacak" + os.system("pip2 install requests") + # Milis linux talimat sınıfı class Talimat():