Just trying stuff

This commit is contained in:
promostarr 2017-04-17 16:12:40 +01:00
parent f80f7a2a0a
commit 5b2ce9163d
2 changed files with 11 additions and 10 deletions

16
.idea/workspace.xml generated
View file

@ -17,8 +17,8 @@
<file leaf-file-name="Janitor.rb" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Janitor.rb">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="420">
<caret line="60" column="16" lean-forward="false" selection-start-line="60" selection-start-column="16" selection-end-line="60" selection-end-column="16" />
<state relative-caret-position="440">
<caret line="61" column="18" lean-forward="false" selection-start-line="61" selection-start-column="18" selection-end-line="61" selection-end-column="18" />
<folding />
</state>
</provider>
@ -37,7 +37,7 @@
<file leaf-file-name="core.rb" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/core.rb">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="498">
<state relative-caret-position="700">
<caret line="35" column="21" lean-forward="true" selection-start-line="35" selection-start-column="21" selection-end-line="35" selection-end-column="21" />
<folding />
</state>
@ -268,12 +268,12 @@
<option name="presentableId" value="Default" />
<updated>1492353576138</updated>
<workItem from="1492353577745" duration="1817000" />
<workItem from="1492433677612" duration="8165000" />
<workItem from="1492433677612" duration="8271000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="9982000" />
<option name="totallyTimeSpent" value="10088000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="27" width="1920" height="1020" extended-state="6" />
@ -343,7 +343,7 @@
</entry>
<entry file="file://$PROJECT_DIR$/core.rb">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="498">
<state relative-caret-position="700">
<caret line="35" column="21" lean-forward="true" selection-start-line="35" selection-start-column="21" selection-end-line="35" selection-end-column="21" />
<folding />
</state>
@ -351,8 +351,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/Janitor.rb">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="420">
<caret line="60" column="16" lean-forward="false" selection-start-line="60" selection-start-column="16" selection-end-line="60" selection-end-column="16" />
<state relative-caret-position="440">
<caret line="61" column="18" lean-forward="false" selection-start-line="61" selection-start-column="18" selection-end-line="61" selection-end-column="18" />
<folding />
</state>
</provider>

View file

@ -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