~raoul-snyman/openlp/pep440

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/lib/importers/easyslides.py

  • Committer: Tomas Groth
  • Date: 2018-07-07 06:45:39 UTC
  • mfrom: (2821.1.7 pycodestyle)
  • Revision ID: tomasgroth@yahoo.dk-20180707064539-5q0enwn43pbjou3v
Fix pep8 and pylint errors detected by new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    Import songs exported from EasySlides
38
38
 
39
39
    The format example is here:
40
 
    http://wiki.openlp.org/Development:EasySlides\_-_Song_Data_Format
 
40
    http://wiki.openlp.org/Development:EasySlides_-_Song_Data_Format
41
41
    """
42
42
    def __init__(self, manager, **kwargs):
43
43
        """
210
210
                vn = '1'
211
211
                # have we got any digits?
212
212
                # If so, versenumber is everything from the digits to the end
213
 
                match = re.match('(.*)(\d+.*)', marker)
 
213
                match = re.match(r'(.*)(\d+.*)', marker)
214
214
                if match:
215
215
                    marker = match.group(1).strip()
216
216
                    vn = match.group(2)