on what?
This commit is contained in:
parent
ac64ee249e
commit
3faa1214c5
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ def hash_file(filepath: str) -> str:
|
|||
|
||||
def main():
|
||||
channel = input('Channel? ({}) '.format(', '.join(list_channels())))
|
||||
if not channel_exists(channel):
|
||||
if channel == '' or not channel_exists(channel):
|
||||
print(f"Channel {channel} doesn't exist")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue