Fixed a whole bunch of MyPy errors

New release of mypy picks up more.
This commit is contained in:
Sybren A. Stüvel
2018-07-10 16:02:14 +02:00
parent 4e1c2d1bbb
commit 38b3e2b55c
7 changed files with 34 additions and 21 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ class BlendPath(bytes):
return False
def absolute(self, root: bytes = None) -> 'BlendPath':
def absolute(self, root: bytes = b'') -> 'BlendPath':
"""Determine absolute path.
:param root: root directory to compute paths relative to.