Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Commit 8a505b2

Browse files
authored
Merge pull request #1 from hposca/change_dir_creation_order
Change the order of the directories creation
2 parents f8c649f + d0a7b48 commit 8a505b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fix_dropbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737

3838
def main():
3939
# Install the library.
40-
os.makedirs(os.path.join(INSTALL_PATH, 'bin'), exist_ok=True)
40+
os.makedirs(os.path.join(INSTALL_PATH, 'lib'), exist_ok=True)
4141

4242
with open(LIBRARY_PATH, 'wb') as fd:
4343
fd.write(gzip.decompress(base64.b85decode(ENCODED_LIB_CONTENTS)))
4444
os.fchmod(fd.fileno(), 0o755)
4545

4646
# Install the wrapper script.
47-
os.makedirs(os.path.join(INSTALL_PATH, 'lib'), exist_ok=True)
47+
os.makedirs(os.path.join(INSTALL_PATH, 'bin'), exist_ok=True)
4848

4949
with open(SCRIPT_PATH, 'w') as fd:
5050
fd.write(DROPBOX_WRAPPER_CONTENTS)

0 commit comments

Comments
 (0)