From: Jakob Date: Fri, 6 Dec 2019 20:06:58 +0000 (-0600) Subject: Bug fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=661c0500c1b7598a4d307e104a6b72418a69c07a;p=bb-sync-api.git Bug fix --- diff --git a/fs.py b/fs.py index f2357f0..9046573 100644 --- 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)