Completed
Pull Request — master (#136)
by Jasper
01:18
created

ViewerMedium   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A export() 0 2 1
1
#!/usr/bin/python
2
# -*- coding: UTF-8 -*-
3
import webbrowser
4
5
6
class ViewerMedium(object):
7
    """Uses the system picture viewer to display an picture file.
8
    """
9
10
    def export(self, formattedProvenance, form):
11
        webbrowser.open(formattedProvenance)
12
13