Skip to content

Commit a2f46ee

Browse files
committed
upload.py support run at anywhere
1 parent a51cbb9 commit a2f46ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

3.upload.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import os,sys
2+
# chdir to this file's dir
3+
os.chdir(os.path.dirname(os.path.abspath(__file__)))
24

35
print("before run this, config main node as rclone 'remote'")
46

0 commit comments

Comments
 (0)