Skip to content

Commit bbb8f77

Browse files
authored
Update SC.py
- update per CityOfZion#783
1 parent 49c42e8 commit bbb8f77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/Prompt/Commands/SC.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def execute(self, arguments):
2626
item = get_arg(arguments)
2727

2828
if not item:
29-
print("run `%s help` to see supported queries" % self.command_desc().command)
29+
print(f"run `{self.command_desc().command} help` to see supported queries")
3030
return
3131

3232
try:
@@ -68,7 +68,7 @@ def execute(self, arguments):
6868
try:
6969
tx, result, total_ops, engine = BuildAndRun(arguments, PromptData.Wallet)
7070
except TypeError:
71-
print('run `%s %s help` to see command usage' % (CommandSC().command_desc().command, self.command_desc().command))
71+
print(f'run `{CommandSC().command_desc().command} {self.command_desc().command} help` to see supported queries')
7272
Blockchain.Default().Resume()
7373
return
7474
Blockchain.Default().Resume()
@@ -112,7 +112,7 @@ def execute(self, arguments):
112112
try:
113113
tx, result, total_ops, engine = LoadAndRun(arguments, PromptData.Wallet)
114114
except TypeError:
115-
print('run `%s %s help` to see command usage' % (CommandSC().command_desc().command, self.command_desc().command))
115+
print(f'run `{CommandSC().command_desc().command} {self.command_desc().command} help` to see supported queries')
116116
Blockchain.Default().Resume()
117117
return
118118
Blockchain.Default().Resume()

0 commit comments

Comments
 (0)