Commit 2f319e29 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Fixed bad for loop instruction.

parent 769858dc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class TapeClient(object):
        exitCode = stdout.channel.recv_exit_status()
        if not exitCode:
            result = json.loads(stdout.readlines()[0].rstrip('\n'))
            for el in result:
            for el in result["payload"]:
                pool = TapePool()
                pool.id = el["id"]
                pool.name = el["name"]