diff options
| author | 2015-04-13 17:20:59 +0200 | |
|---|---|---|
| committer | 2015-04-13 17:20:59 +0200 | |
| commit | e00ef98491f79ae8aa972ae1473dae4a7b78c07e (patch) | |
| tree | 31be0c7cdcebb61525bcc387bcf15d265a1c494a /pyload/network/JsEngine.py | |
| parent | Fix except (diff) | |
| download | pyload-e00ef98491f79ae8aa972ae1473dae4a7b78c07e.tar.xz | |
Cleanup
Diffstat (limited to 'pyload/network/JsEngine.py')
| -rw-r--r-- | pyload/network/JsEngine.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/pyload/network/JsEngine.py b/pyload/network/JsEngine.py index c64e8c490..bcf6ae0e2 100644 --- a/pyload/network/JsEngine.py +++ b/pyload/network/JsEngine.py @@ -33,6 +33,8 @@ class JsEngine(object):      @classmethod + +      def find(cls):          """ Check if there is any engine available """          return [E for E in ENGINES if E.find()] @@ -120,6 +122,8 @@ class AbstractEngine(object):      @classmethod + +      def find(cls):          """ Check if the engine is available """          try: | 
