Test Failed
Push — master ( 16370d...2bdc04 )
by Steffen
02:30
created

usage   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 8
dl 0
loc 16
rs 10
c 0
b 0
f 0
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3
#
4
# This is an example usage
5
6
from pprint import pprint
7
8
from saucenao import run_application
9
10
if __name__ == '__main__':
11
    results = run_application()
12
    # if argument move_to_categories is set we don't get a return type, else a generator object
13
    if results:
14
        for result in results:
15
            pprint(result)
16