From 2eee51088d07f07ff8a52f06668a2ec4b9ef0155 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 26 Mar 2019 08:55:21 +0100 Subject: Fix Path --- ovh_reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovh_reboot.py b/ovh_reboot.py index 5ee3fff..2d1ede8 100644 --- a/ovh_reboot.py +++ b/ovh_reboot.py @@ -12,7 +12,7 @@ def main(): # Instanciate an OVH Client. # You can generate new credentials with full access to your account on # the token creation page - with open("~/.ovh_auth", "r") as f_file: + with open("/home/ache/.ovh_auth", "r") as f_file: auth = f_file.read().strip().split(';') client = ovh.Client( endpoint=auth[0], # Endpoint of API OVH Europe -- cgit v1.2.3