Skip to content

Commit

Permalink
Merge pull request #18
Browse files Browse the repository at this point in the history
merge mega-dl with master
  • Loading branch information
ksssomesh12 authored Sep 3, 2021
2 parents 8ec3134 + 79c1b2f commit e6ba32d
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 99 deletions.
5 changes: 3 additions & 2 deletions deploy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def fileUpload(fileName: str) -> str:
'googleDriveUploadFolderIds': {}, 'ariaGlobalOpts': {'allow-overwrite': 'true', 'bt-max-peers': '0', 'follow-torrent': 'mem',
'max-connection-per-server': '8', 'max-overall-upload-limit': '1K',
'min-split-size': '10M', 'seed-time': '0.01', 'split': '10'},
'authorizedChats': {}, 'dlRootDir': 'dl', 'logLevel': 'INFO', 'statusUpdateInterval': '5',
'trackersListUrl': 'https://trackerslist.com/all_aria2.txt'}
'authorizedChats': {}, 'dlRootDir': 'dl', 'logLevel': 'INFO', 'megaAuth': {'apiKey': '', 'emailId': '', 'passPhrase': ''},
'statusUpdateInterval': '5', 'trackersListUrl': 'https://trackerslist.com/all_aria2.txt'}
envVars: typing.Dict = {'dlWaitTime': '5'}

if __name__ == '__main__':
Expand Down Expand Up @@ -208,6 +208,7 @@ def fileUpload(fileName: str) -> str:
if input('Do You Want to Delete the Local Config Files? ') in inputsTruthy:
for configFile in [*configFiles, dynamicJsonFile, fileidJsonFile]:
os.remove(configFile)
print(f"Deleted: '{configFile}' !")
print('Setup Completed !')
exit(0)

Expand Down
Loading

0 comments on commit e6ba32d

Please sign in to comment.