mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-17 20:49:02 +00:00
16 lines
341 B
Python
16 lines
341 B
Python
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import os
|
|
import os.path as op
|
|
import runpy
|
|
|
|
def main():
|
|
scriptpath = op.abspath(__file__)
|
|
scriptfolder = op.dirname(scriptpath)
|
|
sys.path.insert(0, scriptfolder)
|
|
del sys.argv[0]
|
|
runpy.run_module('qt.{edition}.start', run_name="__main__")
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main()) |