From f0369a07b307dd162db934c8370da8ba5f433747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez?= Date: Sat, 12 Mar 2016 03:10:52 -0300 Subject: [PATCH] Fixed files error --- app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.coffee b/app.coffee index 2db1e0e..db45031 100644 --- a/app.coffee +++ b/app.coffee @@ -81,7 +81,7 @@ app.controller 'BTorrentCtrl', ['$scope','$rootScope','$http','$log','$location' setInterval updateAll, 500 $rootScope.seedFiles = (files) -> - if files? + if files? && files.length > 0 if files.length == 1 dbg 'Seeding file ' + files[0].name else