diff --git a/fs_gcsfs/_gcsfs.py b/fs_gcsfs/_gcsfs.py index 4bb3814..bdbda5d 100644 --- a/fs_gcsfs/_gcsfs.py +++ b/fs_gcsfs/_gcsfs.py @@ -602,6 +602,10 @@ def writable(self): def writelines(self, lines): return self._f.writelines(lines) + @property + def mode(self): + return self.__mode.to_platform_bin() + def read(self, n=-1): if not self.__mode.reading: raise IOError("not open for reading")