mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-04 08:55:36 -05:00
Fix root
This commit is contained in:
parent
5421048730
commit
85bb499ab5
@ -7,10 +7,12 @@ import shutil
|
||||
import glob
|
||||
|
||||
root = os.path.dirname(
|
||||
os.path.dirname(
|
||||
os.path.dirname(
|
||||
os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def run(cmd, cwd=None):
|
||||
@ -18,6 +20,8 @@ def run(cmd, cwd=None):
|
||||
|
||||
|
||||
def main():
|
||||
print(root)
|
||||
return
|
||||
# Parse arguments
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
|
Loading…
x
Reference in New Issue
Block a user