Bug fix
authorJakob <jakob@jcornell.net>
Fri, 6 Dec 2019 20:06:58 +0000 (14:06 -0600)
committerJakob <jakob@jcornell.net>
Fri, 6 Dec 2019 20:06:58 +0000 (14:06 -0600)
fs.py

diff --git a/fs.py b/fs.py
index f2357f047c50f959da678be4324d3d122b35cca7..9046573f1c558e2af8804189573fa8905e241aff 100644 (file)
--- a/fs.py
+++ b/fs.py
@@ -95,7 +95,7 @@ def _extract_version(path):
                return None
 
        info = None
-       stream_path = fs.get_ads(path, BB_META_STREAM_NAME)
+       stream_path = get_ads(path, BB_META_STREAM_NAME)
        if stream_path.exists():
                # NTFS ADS metadata
                with stream_path.open() as f:
@@ -189,5 +189,5 @@ def get_new_path(parent, base_name):
 
 
 def write_metadata(path, version_info):
-       with fs.get_ads(path, BB_META_STREAM_NAME).open('x') as f:
+       with get_ads(path, BB_META_STREAM_NAME).open('x') as f:
                json.dump({'contentId': version_info.bb_id, 'version': version_info.version}, f)