Skip to content

Commit 44517d4

Browse files
Update main.py
1 parent 0dcb4d4 commit 44517d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2018 - 2019 William Vandergraaf
1+
# Copyright (C) 2018 - 2022 William Vandergraaf
22
# All rights reserved. To learn more type 'copyright' at the prompt.
33

44
# Import Statements
@@ -117,8 +117,8 @@
117117
print('"newpiece" - creates a new piece in the database. \n"newcolour/newcolor" - creates a new colour in the database. \n"addpiece" - adds a quantity of your selected piece to the database. \n"removepiece" - removes a quantity of your selected piece from the database. \n"sortparts-all" - prints all pieces and their respective colours and quantities to the screen. \n"sortparts-name" - prints all pieces related to the search query entered, as well as their respective colours and quantities to the screen. \n"sortparts-colour/sortparts-color" - prints all pieces in that colour, as well as their respective names and quantities. \n"newset" - creates a new set in the database. \n"newtheme" - creates a new theme in the database. \n"addset" - adds a quantity of your selected set to the database. \n"removeset" - removes a quantity of your selected set from the database. \n"sortsets-all" - prints all sets and their respective set numbers, themes, piece count and quantity to the screen. \n"sortsets-name" - prints all the sets related to the set name entered, as well as their respective set numbers, themes, piece count and quantity to the screen. \n"sortsets-number" - prints all the sets related to the set number entered, as well as their respective set names, themes, piece count and quantity to the screen. \n"sortsets-theme" - prints all the sets related to the set theme entered, as well as their respective set names, numbers, piece count and quantity to the screen. \n"copyright/license" - prints license and copyright information and opens the license in default text editor. \n"help" - prints a list of commands, and is where you are right now.') #list of functions
118118

119119
elif INPUTmain == 'copyright' or 'license': #the 'copyright command'
120-
print('Copyright (C) 2018 Dog Face Development Co. \nUse is subject to the terms and conditions outlined in the LICENSE.md document.') #copyright info
121-
os.startfile("C:\\Users\\William Vandergraaf\\Documents\\Dog Face Development Co\\Legal\\Project Licences\\GNU General Public License.txt") #opens license
120+
print('Copyright (C) 2018-2022 Dog Face Development Co. \nUse is subject to the terms and conditions outlined in the LICENSE.md document.') #copyright info
121+
os.startfile("") #opens license
122122

123123
else:
124124
print('Sorry, try again! \nType "help" for a list of commands.') #helpful error message

0 commit comments

Comments
 (0)