From 5b2ce9163d1c592bf3df288bd7c095664d958888 Mon Sep 17 00:00:00 2001 From: promostarr Date: Mon, 17 Apr 2017 16:12:40 +0100 Subject: [PATCH] Just trying stuff --- .idea/workspace.xml | 16 ++++++++-------- Janitor.rb | 5 +++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4a67537..7b77b49 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -17,8 +17,8 @@ - - + + @@ -37,7 +37,7 @@ - + @@ -268,12 +268,12 @@ - + @@ -351,8 +351,8 @@ - - + + diff --git a/Janitor.rb b/Janitor.rb index 99e1bbc..be1e7ca 100644 --- a/Janitor.rb +++ b/Janitor.rb @@ -58,8 +58,9 @@ class Janitor end def move_self(cid) - client_id = whoami()[0]['client_id'] - return move_client(client_id, cid) + client_id = whoami() + puts client_id + return move_client(client_id[0]['client_id'], cid) end