@@ -101,22 +101,22 @@ def is_number(string):
101
101
102
102
# Prevents set to null no nullable elements
103
103
elif user_input == '' and required :
104
- print (f'\n [!] Error, { column [0 ]} is required.\n ' )
104
+ print (f'\n (!) Error, { column [0 ]} is required.\n ' )
105
105
continue
106
106
107
107
# Checks if item lenght is valid
108
108
elif len (user_input ) > column [2 ]:
109
- print (f'\n [!] Error, { column [0 ]} maximum lenght is { column [2 ]} .\n ' )
109
+ print (f'\n (!) Error, { column [0 ]} maximum lenght is { column [2 ]} .\n ' )
110
110
continue
111
111
112
112
# Checks if item is number
113
113
elif datatype == 'NUMBER' and not is_number (user_input ):
114
- print (f'\n [!] Error, { column [0 ]} has to be a number.\n ' )
114
+ print (f'\n (!) Error, { column [0 ]} has to be a number.\n ' )
115
115
continue
116
116
117
117
# Cheks if item is datetime
118
118
elif datatype == 'DATETIME' and not is_date (user_input ):
119
- print (f'\n [!] Error, not a valid date.\n ' )
119
+ print (f'\n (!) Error, not a valid date.\n ' )
120
120
continue
121
121
122
122
# If all ok...
@@ -157,7 +157,7 @@ def is_number(string):
157
157
input ('Press ENTER' )
158
158
159
159
else :
160
- print (f'\n [!] Error, option { selected + 1 } doesn\' t exist' )
160
+ print (f'\n (!) Error, option { selected + 1 } doesn\' t exist' )
161
161
input ('\n Press ENTER' )
162
162
163
163
@@ -208,7 +208,7 @@ def show_queries(CURSOR):
208
208
break
209
209
210
210
else :
211
- print (f'\n [!] Error, option { selected } doesn\' t exist' )
211
+ print (f'\n (!) Error, option { selected } doesn\' t exist' )
212
212
input ('\n Press ENTER' )
213
213
214
214
elif selected == 98 :
0 commit comments