only print dir creation log when it actually happens
This commit is contained in:
		| @@ -84,10 +84,9 @@ class Stocks(inkycal_module): | ||||
|         try: | ||||
|             if not os.path.exists(tmpPath): | ||||
|                 os.mkdir(tmpPath) | ||||
|                 print(f"Successfully created tmp directory {tmpPath} ") | ||||
|         except OSError: | ||||
|             print(f"Creation of tmp directory {tmpPath} failed") | ||||
|         else: | ||||
|             print(f"Successfully created tmp directory {tmpPath} ") | ||||
|  | ||||
|         # Check if internet is available | ||||
|         if internet_available() == True: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user