Ensure we return something.
authorCMDR furrycat <elite@furrycat.net>
Sun, 16 Apr 2017 11:08:47 +0000 (12:08 +0100)
committerCMDR furrycat <elite@furrycat.net>
Sun, 16 Apr 2017 11:08:47 +0000 (12:08 +0100)
plugin/faction/faction.py

index 9e5338b..a4af47c 100644 (file)
@@ -1005,7 +1005,7 @@ class Faction(DBConnection):
 
     if not len(data):
       log.info('No influence to graph!')
-      return
+      return False
 
     log.info('Graphing: {} in {}'.format(title, destination))