Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source_code/v1.1.0/Ultra Backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from cryptography.fernet import Fernet as fn
import json
from win32com.client import Dispatch
from win32com.shell import shell, shellcon
from win32com.client import shell, shellcon

import createCryptic as cb
import updateCryptic as ub
Expand Down Expand Up @@ -31,7 +31,7 @@
def createShortcut(path, target='', wDir='', icon=''): #code taken from: https://www.blog.pythonlibrary.org/2010/01/23/using-python-to-create-shortcuts/
ext = path[-3:] # AUTHOR: @driscollis thanking him for the wonderful tutorial in creating a shortcut in python.
if ext == 'url':
shortcut = file(path, 'w')
shortcut.file(path, 'w')
shortcut.write('[InternetShortcut]\n')
shortcut.write('URL=%s' % target)
shortcut.close()
Expand Down Expand Up @@ -756,4 +756,4 @@ def mainMenu():
data = file2.read()
file2.close()
USER = json.loads(fn("CB9rESpkfeU_IPqgOQlR2MKjVIq3jWg3orr-H4XZRwE=".encode()).decrypt(data))['User']
mainMenu()
mainMenu()