Commit 39cd4d63b67428fbf94bd1e446339fb0d1660415

Authored by Josh Klontz
1 parent 700eae96

minor youtube fix

Showing 1 changed file with 1 additions and 0 deletions
sdk/plugins/youtube.cpp
@@ -19,6 +19,7 @@ class YouTubeFacesDBTransform : public UntrainableMetaTransform @@ -19,6 +19,7 @@ class YouTubeFacesDBTransform : public UntrainableMetaTransform
19 19
20 void init() 20 void init()
21 { 21 {
  22 + if (algorithm.isEmpty()) return;
22 transform = Transform::fromAlgorithm(algorithm); 23 transform = Transform::fromAlgorithm(algorithm);
23 distance = Distance::fromAlgorithm(algorithm); 24 distance = Distance::fromAlgorithm(algorithm);
24 } 25 }