mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 22:15:57 -05:00
Fix root
This commit is contained in:
parent
5421048730
commit
85bb499ab5
@ -8,7 +8,9 @@ import glob
|
||||
|
||||
root = os.path.dirname(
|
||||
os.path.dirname(
|
||||
os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
|
||||
os.path.dirname(
|
||||
os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@ -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