diff --git a/doku2git.py b/doku2git.py index 67224d3..936bec0 100755 --- a/doku2git.py +++ b/doku2git.py @@ -115,7 +115,7 @@ class Change(object): # If we're not trying to delete a page then ensure we can see the # source material in the Dokuwiki attic - if self.operation not in ('D'): + if self.operation not in 'D': attic = os.path.join(src.root, self._attic(src)) if not os.path.isfile(attic): log.error(f'Source file {attic} not present for {self}; ignoring')