File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ def windows_installer():
2020 )
2121 if (copy_permission .lower () == 'yes' or copy_permission .lower () == 'y' ):
2222 shutil .copy ( module_path , 'Rcolor.py' )
23- return ("It's done !" )
23+ print ("It's done !" )
2424 else :
25- return ('Copying failed.' )
25+ print ('Copying failed.' )
2626
2727def linux_installer ():
2828
@@ -41,9 +41,9 @@ def linux_installer():
4141 )
4242 if (copy_permission .lower () == 'yes' or copy_permission .lower () == 'y' ):
4343 os .system (f'sudo cp -r Rcolor.py { module_path } ' )
44- return ("It's done !" )
44+ print ("It's done !" )
4545 else :
46- return ('Copying failed.' )
46+ print ('Copying failed.' )
4747
4848def installer ():
4949 # get operating system name
@@ -55,4 +55,4 @@ def installer():
5555 linux_installer ()
5656
5757if __name__ == '__main__' :
58- installer ()
58+ installer ()
You can’t perform that action at this time.
0 commit comments